Hi
In a
jsp, i have a form which has an array of textboxes called "routerName".
my form tag looks like this.......
<html:form action="/AffiliateSave" method="post" focus="routerName">
|_________|
|_________|
|_________|
|_________|
|_________|
|_________|
|_________|
i have an array of textboxes as shown above. When the jsp is served, i want the focus to be on the first textbox.
i tried giving focus="routerName"........then i got a javascript error which said "Object doesn't support this property or method"
then i tried giving focus="routerName[0]"........then i got a javascript error which said "focusControl.type is null or not an object".
i think the second option is correct but i am missing something.
Any info on this regard would be appreciated.
Thanks
Amith