Thank you so much for the help, obviously you can see I’m a realy newbie when it comes to javascript. I could easily do all of this in php, but my work won’t install it:(.
Actually using document.myForm._fid_14.value=variable leaves the select box blank. I would use your example of using the index value, but I know the actual value of the select box, not the index. Any other suggestions
Thanks for the help guys I got it working. I have one more question I just don’t understand about javascript…how can I use variables like in php <? echo $variable; ?>.
I have a redirect link that I need to tag a couple variables to the end of.
yes it makes perfect sense…option one seems a lot easier. So I can use document.write anywhere in an html file as long and i place it within <script></script>…correct? Are there any other rules for document.write I should know about?
Correct, anytime within <script></script> tags. However, it’s standard to declare them this way <script language=“javascript” type="text/javascript>. I don’t know about you, but that’s alotta typing for every script. So, skip that silly nonsense by including this META tag.
<META HTTP-EQUIV=“Content-Script-Type” CONTENT=“text/javascript” />
Oh, and you should note the difference between
document.write();
document.writeln();
Wherein #2 creates a linebreak in the run-time HTML, and #1 does not.