How do I get a specific value from a jQuery object?
<p>If I have an object like this:</p>

<pre><code>var item = {
    id: '1',
    description: 'something'
}
</code></pre>

<p>then how do I extract one of these values? If I do</p>

<pre><code>alert($(item.id));
</code></pre>

<p>then I just get an alert saying 'Object object'. I had a look at this post: <a href="http://stackoverflow.com/questions/47837/getting-the-base-element-from-a-jquery-object">Getting the base element from a jQuery object</a> and tried to invoke</p>

<pre><code>alert($(item).get(0)); 
</code></pre>

<p>But with the same result.</p>

<p>Also, from a terminology point of view what are objects like this called so that next time I can be a bit more specific?</p>
