• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Form Elements > HTMLOptionElement/<option />

HTMLOptionElement/<option />

Browser/JavaScript Version Created By
Nav4/JavaScript 1.2 <option /> var x = new Option()
IE4/JScript 3.0 <option />
IE5/JScript 5.0 <option />
IE5.5/JScript 5.5 <option />
Nav6/JavaScript 1.5 <option /> var x = new Option()
IE6 <option />
DOM Level 1 document.createElement("option")


Note

Implemented in Nav1+ (HTML), Nav2+ (JS), IE3+

Descends from HTMLElement interface (Chapter 21, “HTMLElement”)

Required ancestor element: HTMLSelectElement

Required parent element: either HTMLSelectElement or HTMLOptGroupElement



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint