Gotcha... -----Original Message----- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Tuesday, October 27, 2009 12:31 PM To: jQuery (English) Subject: [jQuery] Re: Basic help with selectors
On Oct 27, 12:16 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote: > How about using a class instead of ID's? > > $('a.toggle_effect_button').click(function() { > > $(this).toggle('blind',500); > > return false; > > }); That would hide the <a> itself (which is not what his repetitive code does)