I have a problem selecting the second .prev()
HTML:
<div></div> <- Set margin to 0;
<div></div>
<div id="interactive"></didv>
jQuery:
$("#interactive").prev().prev().css("margin", "0");
It's going to give CSS both of them, i want only for the first div.
Best Regards,
Aucun commentaire:
Enregistrer un commentaire