Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


ISINDEX

The ISINDEX element indicates that the user agent should provide a single line text input field for entering a query string. There are no restrictions on the number of characters that can be entered. You use the PROMPT attribute to change the default prompt supplied by the browser, e.g.

<ISINDEX HREF="phone.db" PROMPT="Enter Surname:">
<ISINDEX PROMPT="Search Phrase">
Keywords for searching will be passed from the browser to the server by suffixing, to the URL, a question mark followed by a list of keywords, separated by plus signs.

The ISINDEX element is usually generated automatically by a server-side script. Recall that it is the server that does the searching, so it is sensible that the server includes this element for situations asking for search information.

The URL used for processing queries can be overridden with the HREF attribute. The semantics for ISINDEX are currently well defined only when the base URL for the enclosing document is an HTTP URL. Typically, when the user presses the enter (return) key, the query string is sent to the server identified by the base URL for this document. For example, if the query string entered is "HTML and CGI" and the base URL is:

	http://WWW.Stars.com/Search/WDVL/test.cgi

then the query generated is:

http://WWW.Stars.com/Search/WDVL/test.cgi?HTML+and+CGI

Note that space characters are mapped to "+" characters and that normal URL character escaping mechanisms apply. For further details see the HTTP specification.

Note in practice, the query string is resticted to Latin-1 as there is no current mechanism for the URL to specify a character set for the query.



Up to => Home / Authoring / HTML / Head




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers