Hello mate,
This can be an easy question but I don't know how to used the Web2py
"Ajax (u,s,t)" function to call build-in Web2py Authentication API.
It's there any example ?...
There is a cool example using JDiv:
def register():
return auth.register(onaccept=lambda form: jDiv.flash('try
login'))
This is cool BUT I DON'T want to use jDiv...
How can I do the same without using JDIV... But instead i want to use
AJAX(u,s,t){} function just like any other form that use Ajax function
to send value ( The only difference here is the fact that I'll send
value to already build Auth API like auth.register(),
auth.password_change(), auth.login() etc... )
Please let me know if you have any hints.
Yannick P.
--
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.