[jQuery] Re: Need Help Filtering Content

2008-07-12 Thread Willie
Thanks. This is all very helpful as I learn to use jquery. Much appreciated. On Jul 11, 12:47 pm, noon <[EMAIL PROTECTED]> wrote: > First of all, you should be assigning your content links (the ones on > the left) classes and not IDs.  Not only is it bad practice, but > jQuery will stop after it

[jQuery] Re: Need Help Filtering Content

2008-07-11 Thread Scott Sauyet
noon wrote: First of all, you should be assigning your content links (the ones on the left) classes and not IDs. Not only is it bad practice, but jQuery will stop after it hits the first one. Another approach is to use individual ids using the feed id as the prefix, e.g. feedID5-1, feedID5-2

[jQuery] Re: Need Help Filtering Content

2008-07-11 Thread noon
First of all, you should be assigning your content links (the ones on the left) classes and not IDs. Not only is it bad practice, but jQuery will stop after it hits the first one. Second of all, $("a").click(function () { var filter = $(this).attr("id"); $("li").not(filter).not("