Javascript Reference
Categories: A

javascript A search

@March 15, 2008, 1:22 a.m.

search Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read/Write  

Provides the URL-encoded portion of a URL assigned to the href attribute that begins with the ? symbol. A document that is served up as the result of the search also may have the search portion available as part of the window.location property. You can modify this property with a script. Doing so sends the URL and search criteria to the server. You must know the format of data (usually name/value pairs) expected by the server to perform this properly.

 
Example
 
document.getElementById("searchLink").search="?p=Tony+Blair&d=y&g=0&s=a&w=s&m=25";
document.links[1].search="?p=Tony+Blair&d=y&g=0&s=a&w=s&m=25";
 
Value

String starting with the ? symbol.

 
Default

None.

For sale 4-star hotel with 80 rooms with more than 10 apartments in the city of Lausanne( Switzerland).Profitability: 15.14% - Price is 29.000.000 ? . Also available worldwide - Factories / Hotels / Banking / Office buildings / Commercial centers. Our company working in area of Investments and international business with Residential and commercial property - Airplanes and Private aviation - Luxury and classic cars-Yachts and Vessels-Art masterpieces -Export of commodities,For more information – www.europrincipal.com
Williamot - 2015-04-29

Powered by Linode.