Home › Forums › JavaScript › JQuery and ‘this’ keyword › Re: JQuery and ‘this’ keyword
March 4, 2010 at 7:52 pm
#72045
NightArcher
Member
WOW… I’m sorry I realized when I was looking at stuff, the code above doesn’t even attempt to do what I want it to, and if I wanted to do what it did I would just do
Code:
$(‘li.prev’).addClass(‘test’);
Thanks anyway Chris