Yannick
unread,Jun 18, 2009, 11:38:43 AM6/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework, Massimo Di Pierro
Hello Mate,
I have a little problem here and not sure if it is even possible to do
so...
I was wondering if you know how to access javascript value in the
web2py python code from the view....
Here I'm trying to add a parameter to my URL and the value of that
param is a Javascript variable
##################
<script>
....
var param = 'value'
.... {{URL(r=request,c='static',f='action', args=[param])}}
.....
</script>
##################
This code gave me an error because the variable "param" is not defined
which is normal...
Do you know a way to get a param's value and put it as an argument to
my URL ??
Thanks for your help...
Cheers,
Yannick P.