What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-dom, is-dom-property
LocationSearchProperty  
The location.search property

Values

The location.search property returns a string.

This property is read/write.

Usage

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
typeOf(location.search) != 'undefined' Y Y Y Y Y Y Y Y

Further reading


Comment by scottakirkwood, May 20, 2008

The substring that follows the question mark (?) is the search property (aka query string, form data).

Comment by nathaniel.herz, Jun 03, 2008

The leading question mark is included in the search string value.


Sign in to add a comment