February 5th, 2002, 11:51 PM
input: <input name="myBox" type="text">
In the HTML(B), the input box named 'myBox' is not exist.
the code belows does not work
February 6th, 2002, 12:08 AM
should work fine, so long as there's a MyForm to find. My guess is: you're running that in the <head>er, before the form has been created. There's nothing but a document object at that point so you'll definately get an error when the script engine hits MyForm. Put it in a function & call onload, or stick in a JS block below the form.