How to capture URL parameters using JS?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amkohl
    New Member
    • Jul 2010
    • 10

    How to capture URL parameters using JS?

    Hi,

    I am using JavaScript and I am fetching the URL parameters in some variable but I don't want the session id to be captured in the variable like in URL below.

    https://abc.com/xyz.jsp?session _id=1173187

    Can somebody please help me out in this?

    Thanks!
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    I hesitate to point you to Google, but you really should check there before here.

    Comment

    • Chris West
      New Member
      • Feb 2011
      • 1

      #3
      jPaq can do this for you with minimal code. The documentation can be found here: http://jpaq.org/documentation/jPaq.GET/1.0/. To download the smallest library which supplies this functionality, I would definitely use jPaq: http://jpaq.org/download/1.0.0.O.

      Comment

      Working...