currently i'm quite buisy but i will send you a test app soon
my data
on Ubuntu 9.10
opera 10.10, google-chrome-beta 5.0.342.9-r43360, firefox 3.5.8
web2py 1.76.3 and whatever jquery version comes with it


On Apr 7, 12:24 pm, DenesL <[email protected]> wrote:
> Hi selecta, can you send me a test app?.
> I have been testing and documenting ajax in web2py 1.76.3 in my spare
> time.
>
> Which jQuery, browser and web2py versions are you using?.
>
> On Apr 5, 5:05 pm, selecta <[email protected]> wrote:
>
>
>
> > I tried to use Recaptcha in a LOAD div but I does not work
>
> > The problem is that the page stats reloading when it gets to the div
> > loaded with LOAD where the recaptcha javascripts are in and gets stuck
> > on reloading it
>
> > controller:
> > ...
> > form = SQLFORM.factory(Field('tag_name'))
> > captcha = None
> > if not auth.user:
> >     captcha = Recaptcha(request,'xxx','xxx')
> >     form[0].append(captcha)
> > if request.vars.tag_name:
> >    ....
> >    if form.accepts(request.vars, session):
> >         ...
> > return dict(form=form, captcha = captcha)
>
> > view tag.html:
> > {{=form.custom.begin}}
> > ...
> > {{=captcha}}
> > {{=form.custom.end}}
> > {{pass}}
>
> > view default.html:
> > LOAD('default','tag',args=(table_name,record_id),ajax=True) <- does
> > not work
>
> > but with
> > LOAD('default','tag',args=(table_name,record_id))
> > at least the page loads

-- 
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.

Reply via email to