I would like to address this list with jquery.
<ul> <li id="unique_id"> Some Stuff </li> </ul>
Can someone tell me how I do this. This doesn’t work.
$('ul li #unique_id').blink();
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.
The space after
lisays that it should look for a descendant with anidofunique_id; you want anliwith anidofunique_id.Usually, however, you don’t want to be that specific.
ids are meant to be unique throughout the entire page, and being less specific can even be more efficient: