My code is below. I have a javacript function which for every html div with id equal to 'plus+id' changes the attribute and html. I want it to only change one div with required id (the next instance of the div after the jquery function code) on the page rather than all the divs above and below the jquery code. Is this possible?
$('#plus'+id+' .plus_bouton#favori').attr('OnClick',"AddToFav('delete','"+id+"');");
$('#plus'+id+' .plus_bouton#favori .label').html('{/literal}{$lang137}{literal}');