Team:Calgary/VGSandbox

From 2012.igem.org

Revision as of 18:19, 16 May 2012 by Cqian (Talk | contribs)

Enter your weight in kilograms and your height in centimeters in the form below and press the "Let's see" button (Please read disclaimer below before using this form)

<FORM NAME="BMI" method=POST>

Your Weight (kg)
Your Height (cm)
Your BMI
My Comment
<INPUT TYPE=TEXT NAME=weight SIZE=10 onFocus="this.form.weight.value="> <INPUT TYPE=TEXT NAME=height SIZE=10 onFocus="this.form.height.value="> <INPUT TYPE=TEXT NAME=bmi SIZE=8 > <INPUT TYPE=TEXT NAME=my_comment size=35>

<INPUT TYPE="button" VALUE="Let's see" onClick="computeform(this.form)"> <INPUT TYPE="reset" VALUE="Reset" onClick="ClearForm(this.form)"> </FORM>



Disclaimer: This form is based on the calculation of <A HREF="http://phaster.com/unpretentious/bmi.html">"Body Mass Index"</A> and is only meant to be a demonstration of how Javascript(tm) could be used on a Web Page. Information it contains may not be accurate and is not designed or intended to serve as medical advice. I am not liable for any physical or psychological damages suffered as a result of using this script. <p>This free script provided by <a href="http://javascriptkit.com">JavaScript

Kit</a>


<SCRIPT LANGUAGE="JAVASCRIPT"> </SCRIPT>