Changes

Add Options to a Combo Box Using JavaScript

95 bytes added, 20:42, 31 July 2009
no edit summary
:''document.forms[0].starthour.add(new Option('''''Display text, Store value, defaultSelected, selected'''''), document.forms[0].starthour.options[0]) ''
 
'''Note:''' the same syntax can be used at Level 1, replacing '''forms[0]''' with '''form1'''
[[Category:JavaScript]]
0
edits