i read docs
also googled, but nothing found easy and good solution, how to highlighting the selected item. i use span so not redirect but nothing selected
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.
You can select li items in the tree and add event listeners to them, like this:
Inside handler function ‘this’ word points to the clicked item.
Or if by ‘selecting’ you mean something else, you can also listen desired event type like in example.