> How a widget can know the name and id of the form in which it resides?

The built-in widgets do not know.
You can make your own widget and pass the information to it.
What do you have in mind?

On Jan 13, 12:13 pm, leone <handja...@gmail.com> wrote:
> Is it possible to use javascript function on submit?

yes. Look into web2py_ajax.html. It does that.

> Thanks
> leone
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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.


Reply via email to