In IE, you may use
document.formname.elements["register[pass]"]
to get the object.
In Netscape, you may use
document.getElementById("register[pass]")
Nate wrote:
If you set up a form such as
<input name="register[pass]" ....
<input name="register[passConfirm]" ....
and in javascript you want to to check
if (document.formName.register[pass] == ...
how do you do this with the array brackets [] in the name?