I have a list of a href’s and I would like to create a drop down list from it.
How can i accomplish this without using jQuery?
I’m new to javascript…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure if the label is right; it depends on what you mean by a list of hrefs and what you want to do with the label. I’m assuming you have an array of links like [“http://google.com“, …].