Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Code school – plugin implementation Reply To: Code school – plugin implementation

#186108
greenhulk01
Participant

I think Kuzyo was asking why:

“this.each(function() {”

…part of the code worked when:

“var vacation = this;” …didn’t.

So should we not change it to be “$(this).each(function() {“?

http://jsfiddle.net/ree6ueqd/25/