tags:

views:

34

answers:

1

i need to know how to list GET requests with JS ... i have this :

window.location.pathname.search

... ????

+1  A: 

I assume you're trying to get the parameters from the query string. Do one of the followinf:

  1. Parse the string location.href: split it around '&' and split the [0] element around '?'
  2. Don't work hard - use jQuery and a plugin called Query Object.
Traveling Tech Guy
Someone ..
Could you specify what do you need exactly? A sample would do.
Traveling Tech Guy