web2py has nothing to do with this. jquery allows you to for example:

<script>
function youraction() { alert("do something"); return true; }
$(document).ready() { $('a').click(youraction()); }
</script>

The exact expression depends on details.

On 29 Apr, 23:41, waTR <roman.goldm...@gmail.com> wrote:
> I have a form with a submit button. However, I need web2py to read the
> form and perform an action not only when the person clicks on the
> submit button, I also need it to perform the action when the user
> clicks on any other link on the page.
>
> How can I do this with web2py?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to