I am trying to append a li to only the UL which has a certain oid value set like this
$('ul.sortablespm oid=' + data).append('<li></li>');
It works fine without the oid parameter, but then adds the li to all ULs on the page..
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.
Use the appropriate attribute selector syntax, that is,
[name="value"]: