You can do, but it feels wrong. <a onclick="jQuery.post('{{=URL('func', vars={'a':a, 'b':b})}}');return false">linked page</a>
On Monday, 2 October 2017 06:47:14 UTC-5, Pierre wrote: > > hello all, > > I am using the A helper as described in the book to reconstruct a page > component when user presses a button: > > {{=A('linked page', _href=URL('func', vars={'a':a, 'b':b}), cid='myid')}} > <div id="myid"></div> > > query string I pass can be quite long so I'd like a POST request instead of a > GET. > Is this possible keeping the same technique ? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.