PDA

View Full Version : How do i get the url params in a webscript



dswint
Apr 15th, 2011, 08:14 PM
i am using ajax GET's (because post is forbidden) to fire off a webscript.

i need to send url params to the webscript so it does the right thing (search query string).

is there an easy way to do it like php? e.g. $foo = $_GET['someparam'];

ive review some docs but everything is kind of mediocre with little in the way of examples.

any help would be great

LailaSmith01
Jul 7th, 2011, 09:19 PM
i found your post and am also having the same problem with my webscript. :(
any info from others will help a lot. thanks!:D

depy
Jul 11th, 2011, 01:24 AM
In controller (.js) do:
args.myparam

For example:
var query = args.myquery


Hope this helps.