Your form is outside the body, dude. It has to be inside the body tags - what you have there is not valid HTML.
Tyler On Oct 29, 9:22 am, Strahan <[EMAIL PROTECTED]> wrote: > The page I have currently loading via a greybox window is quite > simple: > > <form name=data method=post action=index.php> > Username: > <input type=text class=stdin name=uid> > Password: > <input type=password class=stdin name=pwd> > <input type=submit value='Login'> > <body onload=javascript:data.uid.focus();> > > When it loads though, focus does not get placed on uid instead I get > the following javascript error: > > "Can't move focus to the control because it is invisible, not enabled, > or of a type that does not accept the focus" > > If I just type the URL into the address bar to load it regularly, it > sets focus fine. > > Any ideas? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GreyBox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/greybox?hl=en -~----------~----~----~----~------~----~------~--~---

