[jQuery] How to make this work for multiple elements with same class
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