there is an ul and I need to get the specific li inner html.
I have a number variable that provide before.
how can i use that number to get my li inner html.
tnx
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.
Get the UL, then access its
children[]property. It’s a NodeList (which is basically like an Array but tailored for holding nodes), so you can just put your number in there and get the corresponding list item.