I'm trying to figure out how to use ajax for these kind of things, but
I'm not sure how to grab the form since i'm just making the function
call and usually that is rendered with an {{include}} or {{=form}} but
i'm not sure how that would work in this situation since the page is
already rendered (kinda)On Sat, Nov 14, 2009 at 10:21 PM, Wes James <[email protected]> wrote: > I'm trying to do something like this: > > {{=SCRIPT('$(document).ready(function() { > $("input:visible:enabled:first").focus(); > ajax("/app/default/user/register",[],"register");});')}} > > <div id="register"> > </div> > > Is there a way to do this? > > The register div is hidden until activated. Then it should show the > register screen then when the person registers the form must be posted > via ajax. > > thx, > > -wes > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

