srimca
04-07-2003, 12:29 AM
how to add items in a combobox.
i want to add nos from 1 to 31 in a combo box.
i want to add nos from 1 to 31 in a combo box.
|
Click to See Complete Forum and Search --> : add items in combo box srimca 04-07-2003, 12:29 AM how to add items in a combobox. i want to add nos from 1 to 31 in a combo box. khalidali63 04-07-2003, 01:13 AM Try this link below,I am sure it will solve your problem http://68.145.35.86/skills/javascripts/CreateDynamicListBox.html :D Cheers Khalid SniperX 04-07-2003, 04:09 AM try using a for loop e.g. document.write('<select>'); for (var i=0; i<31; i++){ document.write('<option name=' + i + 'value='+i+'>' + i '</option>'); } //i actually dont know if this will work or you could search for your answer at javascript.com :eek: C ya da best SniperX webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |