Thank you Russell, your suggestion works great.
I use <li onclick="ajax('{{=URL(r=response, f='action',
args='hellohello')}}', [], 'target')">hello!</li>On Mar 29, 3:46 am, mdipierro <[email protected]> wrote: > I think you can. I have not tried it. Mind that you have to ecape the > args. > > On Mar 28, 7:56 pm, Russell <[email protected]> wrote: > > > Is there a reason not to simply place the constant in the args? > >ajax('show_month/3',[],'test') > > > or if you want to be explicit... > >ajax('show_month?month_to_show=3',[],'test') > > > On Mar 29, 4:24 am, mdipierro <[email protected]> wrote: > > > > Normally if I want to pass a constant, I put it in a hidden field and > > > then pass the name of the hidden field. > > > > On Mar 28, 10:14 am, salbefe <[email protected]> wrote: > > > > > Thanks, > > > > > Now is clear to me. -- You received this message because you are subscribed to the Google Groups "web2py-users" 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.

