can someone help me out getting a javascript var inside the value of a form
input value?
I'm a newbie in javascript but can give you my solution in php.
("Just use php" isn't ...
You can't do it. If you use document.write ANY time after a page is fully loaded into the browser, it WIPES OUT *EVERYTHING* on that page! Even the javascript that did the document.write. YOu will need to learn to use DOM methods, instead. Not only that... You never even *call* your numbercheck function. Not only that... If you use a submit ...
Hi I'm trying to pass a variable into a function that forms "part" of the name of a form element. ie. I pass in "start" to complete the form field name "startdate". I've got it working to get the form value and compare the values with MenuVar+ in the line, but I am getting an error when I try to assign ...
dd is calling up "spans" and "div" from a class I have running on my page. I don't get it why dd is working and my elements from a input hidden is not working as a variable but only as a fixed string. Is there any other way I can do this? Thanks, Ramon
Sorry for the confusion, but yes, that is what I meant. For example, the old code calculates Linear Feet based on the Diameter or the Weight depending on input. It is written in CF and I am converting it to javascript. So anyway, when a user selects Diameter, LF will be calculated based on Dia, however, if they select Weight, then ...
Hey guys, I am having trouble with a hidden variable.......I need to include it in a form only if a certain choice is made:..........Or I need to write the hidden variable to the form, if a certain item is selected from a