Today is not my day, I don't even the most simple things to work! :(
I have three unordered lists, each of them has around 10 list items. All list items have an unique ID. <ul> <li id="1"></li> <li id="2"></li> <li id="3"</li> </ul> <ul> <li id="4"</li> <li id="5"</li> <li id="6"</li> </ul> <ul> <li id="7"</li> <li id="8"</li> <li id="9"</li> </ul> By using $.get I get a result from the server (PHP), this can be an array or a string (whatever is easier for the next step): Array ( [0] => 1 [1] => 4 [2] => 9 ) - or - 1,4,9 Now I want to have a function that highlights all list items with the ID of 1,4 and 9 and at the same time it should make all list items invisible that don't have this ID. I am not quite sure how to start. Selecting a single list item isn't a problem but what do I have to do with the array/string of the items to hide? As always, thanks for your help! Dominik
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
