![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hello ng is there an easy and fast way to remove/delete ALL options in a dropdown-list? if possible, i dont want to check the existing values, just ban all out of this dropdown to get a clean empty dropdown ![]() |
#3
| |||
| |||
|
| Crescionini Sascha wrote: hello ng is there an easy and fast way to remove/delete ALL options in a dropdown-list? if possible, i dont want to check the existing values, just ban all out of this dropdown to get a clean empty dropdown ![]() form name="formName" select name="selectName" then you can delete options with document.formName.selectName.options.length = 0 -- Martin Honnen http://JavaScript.FAQTs.com/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |