Changes

Jump to: navigation, search

Building Forms with JavaScript

179 bytes added, 14:23, 17 May 2007
JavaScript Drop-down / Select Object
</pre>
The above example will create a Selection object that appears as follows. The image on the left shows the Select object before the user clicks on it. The image on the right shows the drop-down list as it appears after the object has been clicked:
[[Image:Javascript select object.jpg]] [[Image:Javascript select object drop down.jpg.jpg]]
If the ''size'' attrtibute is specified and set to a value greater than 1 then a scrolled list, insteads of a drop down list, will be displayed with a scrollbar for scrolling through the lisy of options.

Navigation menu