On Tue, Mar 24, 2009 at 3:17 AM, Marco Prosperi
<[email protected]>wrote:

>
> hi all,
> I would like to put a button in one of my pages so that when the users
> clicks it, a computation on the database get started. I don't know the
> syntax I have to use. Probably something like:
>
> <button onclick=!!what_am_I_supposed_to_put_here?!!>click me</button>


<button onclick={{=URL(r=request, f='some_function')}} >...

but there may be a better way depending on what you are trying to do...


>
> any hint? Or maybe there is a better approach?
>
> Marco
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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