I’m trying to make the a selectable list like a select-box, so when you click on the li a, change the label for the selected li a.
First of all, this is possible?
Here is the code: http://jsfiddle.net/dcalixto/h8esW/10/
Thank’s for any hint 🙂
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.
Definitely possible using the text() method.
Here’s an update to your code.