Announcement Announcement Module
Collapse
No announcement yet.
How do i get the url params in a webscript Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    i found your post and am also having the same problem with my webscript.
    any info from others will help a lot. thanks!

    Comment


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

      Hope this helps.

      Comment

      Working...
      X