Jump to content

lee2121

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by lee2121

  1. Hello, If i run the following code in an ASP page it loads the file (stored on local server) and outputs the text as expected; <p id="demo"></p> <button type="button" onclick="loadDoc()">Load Feed</button> <script> function loadDoc() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("demo").innerHTML = this.responseText; } }; xhttp.open("GET", "XML_TEST.xml", true); xhttp.send(); } </script> I need to run this from a
  2. Does anybody know how this calculation can be changed into KG's not llb's it calculates BMI //BMI Form Validation... $('form.dt-sc-bmi-frm').each(function(){ $(this).validate({ rules: { txtfeet: { required: true }, txtinches: { required: true }, txtlbs: { required: true } }, errorPlacement: function(error, element) { } }); }); //BMI Calculation... $('form[name=frmbmi]').submit(function(){ var This = $(this); if(This.valid()) { var fet = This.find('input[name=txtf
×
×
  • Create New...