[jQuery] Selector issue

2009-12-03 Thread Civette
Well i'm in trouble. Following code does not trigger : Code: Select all $("#cat_list > div").click(function() { alert("Bye bye!");; }); neither Code: Select all $("#cat_list ~ div").click(function() { alert("Bye bye!");; }); or Code: Select all $("#cat_list

[jQuery] Selector issue (i think), Cant control specific elements

2009-04-28 Thread stuart
Heres a very stripped down version of the page i'm trying to write. For simplicity, the Show / Hide functions (not meaning hide from view, but within a db) are the same (they change the background color of the div), the functions work for the most part but ignores certain divs (the ones titled Hid