h8ids
09-08-2006, 08:42 PM
Would like to reset a particular dropdown field within a form without resetting all fields. Is it possible?
|
||||
Reset dropdown fieldh8ids 09-08-2006, 08:42 PM Would like to reset a particular dropdown field within a form without resetting all fields. Is it possible? vwphillips 09-08-2006, 09:00 PM set the selected index to 0 document.formname.selectname.selectedIndex=0; or document.getElementById('SelectIDName').selectedIndex=0; <input type="button" value="Reset Select" onclick="document.formname.selectname.selectedIndex=0;" > |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum