InterviewSolution
Saved Bookmarks
| 1. |
How to remove item from dropdownlist in Javascript |
|
Answer» FUNCTION removeitemfromdropdownlist() { VAR LEN = document.getElementById('dropdownlistid').options.length; for(i=len-1; i>=1; i--) { document.getElementById('dropdownlistid').options.remove(i); } } |
|