How can I get this values?
<p>Let's say that I have a object that looks like this</p>

<pre><code>var object = { id : 1, name : "Test"}
</code></pre>

<p>And I know that in jQuery I can make an each assuming that I have an array of this object example like this:</p>

<pre><code>$.each(arrayOfObjects, function (i, value) {
    this.id // gives me the id
    this.name //gives me the name
});
</code></pre>

<p>Assuming that <code>id</code> and <code>name</code> are string parameters, how can I get the values??</p>

<p><strong>UPDATE</strong></p>

<p>I'm already modified the code, i just want to know if exit's a way to accomplish something like this</p>

<pre><code>var aux = 'id'
$.each(arrayOfObjects, function (i, value) {
    this.aux // gives me the id
    this+ aux
});
</code></pre>
