Results 1 to 3 of 3

Thread: How do i get the url params in a webscript

  1. #1
    Join Date
    Apr 2011
    Posts
    1

    Default How do i get the url params in a webscript

    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

  2. #2

    Smile

    i found your post and am also having the same problem with my webscript.
    any info from others will help a lot. thanks!
    Dog Pens - 30% Off & FREE Shipping on Dog Exercise Pens, Dog Pens - Lowest Price

  3. #3
    Join Date
    Jun 2008
    Posts
    28

    Default

    In controller (.js) do:
    Code:
    args.myparam
    For example:
    Code:
    var query = args.myquery

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •