<script type="text/javascript">
$(document).ready(function() {
    $("#vitality").click(function() {
        $("#mydisp").text("Would have rvitals against "+noderange);
    });
});
</script>
<body>
<div id="mydisp"></div>
<button id="vitality">Get Vitals</button>
</body>