See "Attribute Filters" http://docs.jquery.com/Selectors
On Jul 14, 4:32 pm, "gswa...@synergydatasystems.com" <gswa...@synergydatasystems.com> wrote: > I have 2 lists on a page and I have a link set up to remove an li item > from the one list. I need to check to see if there is a copy of that > item in the other list based off an attribute in my li item called > qid. How would I look for a child list item based off this custom > attribute? Assuming I have html like the following and I want to get > the one where qid=14. Thanks. > > <ul id="ul1"> > <li qid="12" id="ul1_1">adfaf</li> > <li qid="13" id="ul1_2">adfaf</li> > <li qid="14" id="ul1_3">adfaf</li> > </ul>