Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

HTML DOM Tutorial
HTML DOM Introduction
HTML DOM Example
HTML DOM Reference
HTML DOM Summary
HTML DOM Window Objects
HTML DOM Navigator Object
HTML DOM Screen Object
HTML DOM History Object
HTML DOM Location Object
HTML DOM Document Object
HTML DOM Anchor Object
HTML DOM Area Object
HTML DOM Base Object
HTML DOM Body Object
HTML DOM Button Object
HTML DOM Event Object
HTML DOM Form Object
HTML DOM Frame Object
HTML DOM Frameset Object
HTML DOM IFrame Object
HTML DOM Image Object
HTML DOM Button Object
HTML DOM Checkbox Object
HTML DOM FileUpload Object
HTML DOM Hidden Object
HTML DOM Password Object
HTML DOM Radio Object
HTML DOM Reset Object
HTML DOM Submit Object
HTML DOM Text Object
HTML DOM Link Object
HTML DOM Meta Object
HTML DOM Object Object
HTML DOM Option Object
HTML DOM Select Object
HTML DOM Style Object
HTML DOM Table Object
HTML DOM TableCell Object
HTML DOM TableRow Object
HTML DOM TextArea Object

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


HTML DOM Option Object
Previous Next


Option Object

The Option object represent an option in a dropdown list in an HTML form.

For each instance of an <option> tag in an HTML form, an Option object is created automatically.

You can access an Option object by searching through the elements[] array of the form or by using document.getElementById().

IE: Internet Explorer, O: Opera, F: Firefox, W3C: World Wide Web Consortium (Internet Standard)




Option Object Properties
Property Description IE F O W3C
defaultSelected Returns the default value of the selected attribute 4 1 9 Yes
disabled Sets or returns whether or not an option should be disabled 4 1 9 Yes
form Returns a reference to the form that contains an option 4 1 9 Yes
id Sets or returns the id of an option 4 1 9 Yes
index Returns the index position of an option in a dropdown list 4 1 9 Yes
label Sets or returns a label for an option (only for option-groups) 6     Yes
selected Sets or returns the value of the selected attribute 4 1 9 Yes
text Sets or returns the text value of an option 4 1 9 Yes
value Sets or returns the value to be sent to the server 4 1 9 Yes



Standard Properties
Property Description IE  F O W3C
className Sets or returns the class attribute of an element 5 1 9 Yes
dir Sets or returns the direction of text 5 1 9 Yes
lang Sets or returns the language code for an element 5 1 9 Yes
title Sets or returns an element's advisory title 5 1 9 Yes



Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: html document, html element, html content, text node


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.