the focus line sets the focus to the first input field the ajax line is supposed to go get some data and put it in the register DIV, but the way I had it in the email will not work since the controller will return a form object and I think the ajax() will want just plain html to push in to the register DIV....
-wes On Sun, Nov 15, 2009 at 8:33 PM, Wiiboy <jordon...@gmail.com> wrote: > > I'm not totally sure what you're trying to do, but I don't know why > you'd use "input:visible:enabled:first.focus()" to send the request. > I'd use.... > > $(document).ready(function() { > $("form").submit(function() { > //Send request, etc. here > }) > }) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---