We help IT Professionals succeed at work.

How to know the size (total options) of a drop down list by using javascript?

kenson2127
kenson2127 asked
on
311 Views
Last Modified: 2008-01-09
How to know the size (total options) of a drop down list by using javascript?
Comment
Watch Question

Author

Commented:
Actually i want to clear all the options in drop down list and add with new options. So i need to know the length of total options to loop and clear the option. Or is it anyway to clear all the drop down option? Thanks.
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2006
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.