eval - Have JavaScript answer calculate into a textbox, not a pop-up! -
I have this code in mind: If I want to go into this text box, what would I have to do to work Please help! I have gone for hours on this and I have come to know everything !!! While working with warning-popup, this is now the original page:
What is this line trying to do?
height = eval (form.height.value)
If you are trying to read it as only one number, then Do:
height = parseflow (form.height.value); However, change the WriteDocument function to: function written document (total) {document.yourFormName.collageEstimate.value = " Estimated value "+" is only $ "+ round topinis (total) of this college; }
You have to look at your HTML like this:
& lt; Form name = "yourFormName" & gt; & Lt; Input type = "text" name = "collage esteem" size = "25" /> & Lt; Input type = "button" value = "calculate estimation" name = "b1" onclic = "calculation (this.form)" /> & Lt; / Form & gt;
Comments
Post a Comment