> <html>
> <body onload="document.formname.arraystuff[inputfield].focus()">
> <form name="formname">
> <input type="text" name="arraystuff[inputfield]">
> </form>
> </body>
> </html>
>
> and like that the text field won't focus and the parser tells me that
> arraystuff has no properties and that inputfield is undefined.
<body onload="document.formname.elements['arraystuff[inputfield]'].focus()">
... should work.
- Colin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]