How to get this attribute in a table using jquery?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9891960/how-to-access-this-attribute-using-jquery-given-a-div-defined-by-this">How to access this attribute using jquery, given a div defined by this</a>  </p>
</blockquote>



<p>I have included a simple jsfiddle to illustrate my difficulty:</p>

<p><a href="http://jsfiddle.net/7HCyS/" rel="nofollow">http://jsfiddle.net/7HCyS/</a></p>

<p>I wish to access the itemid attribute of this:</p>

<pre><code>&lt;td itemid="1488324"&gt;
&lt;div style="margin: 0 auto; width:88px"&gt;
&lt;div class="twitter-tweet" style="width:22px; height:22px;"&gt;&lt;/div&gt;
&lt;div class="facebook-post" style="width:22px; height:22px;"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;​
</code></pre>

<p>I can't lookup itemid using jquery directly, I have to start with</p>

<pre><code> $('.facebook-post')
</code></pre>

<p>and go from there. I have been advised to use the parent method but it isn't helping me, any ideas?</p>
