Marcel Molenaar wrote:
What does this mean:
element.multi_selector = this;
I is used in this javascript class:
http://the-stickman.com/web-developm...-file-element/
I understand that this line is adding a reference to the object but can
someone explain me why this is important and what is it used for?
Marcel
Alright I am going to venture out on a limb on this one, but I think it
has something to do with closures.
Or just in general having a spare to insert when 'this' is no longer in
scope with the object you may be wanting.
Then again my understanding of closures is about 20%.
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.