Here is my problem
i have a javascript that calculates values that are inputed in a form. For example, how much your food costs, so you put in lunch value, dinner, beakfest and so and and press calculate button and it spits out the value for you.
All that works fine, no problems.
Now where i run into a problem is when i click calculate button i want it to to go onto a new page (so i have results displayed there) and i can't seem to figure out how to do that.
Here is the code i have for the button right now
i have a javascript that calculates values that are inputed in a form. For example, how much your food costs, so you put in lunch value, dinner, beakfest and so and and press calculate button and it spits out the value for you.
All that works fine, no problems.
Now where i run into a problem is when i click calculate button i want it to to go onto a new page (so i have results displayed there) and i can't seem to figure out how to do that.
Here is the code i have for the button right now
Code:
<input class="buttonx gray" type="button" name="btncalculate" id="btncalculate" value="calculate" onClick="populateform()" a class="revealme" />