to start: you have $('this')
it should be without the ticks $(this) On Jan 13, 2:50 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote: > Here's the code that I'm trying to make function > for multiple links on a page with the class of "update-link" > > How would I change this to make it work for the specific > .update-link element that I click? > > $(document).ready(function() { > > $('.update-link').click(function() { > > $('this').prev('.options').hide(); > $('this').next('.update-div').fadeIn(500); > > }); > }); > > Thanks, > > Rick