troubleshooting Question

jquery selector question

Avatar of Wanting2LearnMan
Wanting2LearnManFlag for United Kingdom of Great Britain and Northern Ireland asked on
10 Comments5 Solutions422 ViewsLast Modified:
I have a Html like so:

 <select id="myList" class="CustomSelect1">    
     <option value="0">MyOption1</option>	
     <option value="1">MyOption2</option>		

In my associated javascript file I do the following:
var nic_list = $('#myList');

In my Firefox debugger I can see that when I expand out nic_list and see the option values MyOption1 and MyOption2.

How do I properly get these values and store them in an array?? (There can be any number of entries in the dropdown box)
Join our community to see this answer!
Unlock 5 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros