jQuery Data - getting elem id?
<p>In jQuery 1.3.2 - <code>jQuery('#id').data(elem)</code> returned the <code>id</code> ? I'm wondering how to do the same thing using jQuery 1.6.2 ?</p>

<p>Understanding now is that it returns the <code>object</code> as opposed to the <code>id</code> as it was in jQuery 1.3.2 ?</p>

<p>How can I get the <code>id</code> ?</p>

<p>Edit: sorry for not clarifying - the <code>.data key/value pair</code> - because I'm upgrading from 1.3.2 and <code>.data(elem)</code> is no longer returning the ID - and im unsure how to get it using 1.6.2 ? </p>
