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


HTML Forms: Multiple Selection Window

This window allows multiple items to be selected. The only difference between this input element and the previous SELECT element is the introduction of the SIZE option. This specifies how many lines of the list to display in a scrollbox.

<FORM	action="test.cgi">
	<SELECT	NAME="group"	SIZE=3	MULTIPLE>
		<OPTION>	Title
		<OPTION>	Description
		<OPTION>	URL
		<OPTION>	Category
	</SELECT>
</FORM>
MULTIPLE
Specifies that multiple options can be selected, as opposed to the previous SELECT example, where only one option could be selected from the menu.

SIZE
The number of lines to display in the scrollbox.

OPTION
Specifies a list option.

VALUE
Specifies the value of the option to be sent to the server.
If not defined, the name of the option is sent as the value.

SELECTED
This tag defaults an OPTION to be selected.
  • On some browsers, it may be necessary to hold down the CONTROL or SHIFT key to select multiple items.

  • This input element is good for lists with many options, because you can control how many to display at a time.

  • If multiple items are selected, they will each be passed to the server with the same name. The decoding script has to be smart enough to recognize multiple values associated with the same name.


Up to => Home / Authoring / HTML / Forms




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