What is a reverse reference to the DOM object?

Posted by chadley on Stack Overflow See other posts from Stack Overflow or by chadley
Published on 2010-04-19T17:53:11Z Indexed on 2010/04/19 20:03 UTC
Read the original article Hit count: 218

Filed under:
|

In this link: http://css-tricks.com/snippets/jquery/jquery-plugin-template/ it has a line of code that says

// Add a reverse reference to the DOM object
base.$el.data("yourPluginName", base);

what does the "reverse reference to the DOM object" mean?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery