Discussions

special forms

Hi,
I have on my website a BMI calculator which a person puts in their height, weight, age etc... and it gives the results of the person health etc...
i have the files uploaded in the root directory.
however for the form, it uses both HTML and javascript. I need a way to get this in my weight loss product next to the description of the product. here is the code, so you can see what i want to do.

HTML CODE:

To determine your B.M.I.:

  • Enter your weight and height using standard measures (standard means current weight is in pounds, the height is in feet and you must put a value for inches even if it is 0.)
  • Click on "Calculate" and your B.M.I. will appear in the calculator

@import url(/bmicalculator/bmicalculator.css);

JAVASCRIPT CODE:
var bmi;
window.onload=function() {
bmi = new BMICalculator();
bmi.setTargetDIV('newHolder');
bmi.buildCalculator();
bmi.initializeBMICalculator();
}

please let me know what to do

Posted: Mar 6, 2013

Comments