I have a page with 6 links that each have a unique class ; edit_profile edit_preferences edit_journal edit_entry.... and so on now I built 1 function based off edit_profile $("a.edit_profile").click(function(){ var url_id = $(this).attr('href'); do stuff...... }); but rather than writing the same function and changing the selector everytime how can i get this all into 1 function? Thanks, Dave
[jQuery] Newbie question on selectors
Dave Maharaj :: WidePixels.com Wed, 03 Jun 2009 11:21:07 -0700
- [jQuery] Newbie question on selectors Dave Maharaj :: WidePixels.com
- [jQuery] Re: Newbie question on select... James
- [jQuery] Re: Newbie question on se... Dave Maharaj :: WidePixels.com
- [jQuery] Re: Newbie question o... James
- [jQuery] Re: Newbie questi... Dave Maharaj :: WidePixels.com
- [jQuery] Re: Newbie questi... Karl Swedberg
- [jQuery] Re: Newbie question on select... Andrew