To get the query string through javascript (Client side) December 08, 2008 window.location.search.substring(1); Read more