Does the object stored/retreived using jQuery .data() have any knowledge of the DOM element it is attached to?
<p>Consider the following example:</p>

<p>HTML:</p>

<pre><code>&lt;div id="cool-div"&gt;&lt;/div&gt;
</code></pre>

<p>JS/jQuery:</p>

<pre><code>var ComplexObject = function() {

   this.Append = function(textToAppend) {
      //append text to the div that this is "attached" to
   };

};

var obj = new ComplexObject();
$("#cool-div").data("o", obj);
</code></pre>

<p>Is there a way for the ComplexObject() to know which DOM element it is "attached" to - in this case the DIV "#cool-div".  I would like to add text to "#cool-div" using just the ComplexObject() class ... but I don't think I can, or at least I haven't been able to tackle it.</p>
