I referred to the below-mentioned thread (but could not reply to it).

https://groups.google.com/group/web2py/browse_thread/thread/61d57e887e42aee8/c3dd5cd43b9d5527?lnk=gst&q=URL+javascript+variable

My question is ---
If I have two javascript variables, which are to be passed to a
controller through URL helper as under --

[CODE]
<script>
  ....
 var param1 = 'value1' ;
 var param2 = 'value2'

 .... "{{URL(r=request,c='static',f='action')}}/"+param1&param2
that did not work
 .... "{{URL(r=request,c='static',f='action')}}/"+(param1,param2)
didn't work either.
 .....
 </script>
[/CODE]

How do I code it?


Thanks,
Vineet

Reply via email to