you can do {{=A('clickme',callback=URL())}}
and the URL is called via ajax. You can also pass a target="..." the
id of a DIV where to post the result and a delete='tr' which will
delete the tr including the link.
On Sep 6, 3:51 pm, pbreit wrote:
> That's how regular web2py form handling work
That's how regular web2py form handling works.
Thanks Noel and Anthony both have worked!
what it was worrying me is that I didn't want to just redirect the user, it
will have to run some code and will redirect to specific pages based on user
group and data on page. I guess i would put these codes in a page anyway and
redirect, but perhaps i
I think that's a Javascript error, not a web2py error. You probably need to
put the URL in quotes, so:
onclick="document.location='{{=URL(r=request,f='atualizar')}}'"
Anthony
On Monday, September 5, 2011 3:07:11 PM UTC-4, Fabiano Faver wrote:
>
> I'm tryng to put a button thaat calls a action
I found this for you:
http://www.plus2net.com/html_tutorial/button-linking.php
Try this:
Noel
On Sep 6, 7:07 am, Fabiano Faver wrote:
> I'm tryng to put a button thaat calls a action which in the end will
> redirect to another page. but its like the function is not known.
>
> I've tryed in v
5 matches
Mail list logo