JQUERY get the first item from an array
<pre><code>$("canvas[name=myCanvas]").index(0).width( $(window).width() );
$("canvas[name=myCanvas]").index(0).height( $(window).height() );
</code></pre>

<p>Hello I have three canvas on a page. How can I set up only the first canvas width and height? 
And how can I access the third?</p>

<p>Tried: </p>

<pre><code>$("canvas[name=myCanvas]").index(0)
</code></pre>

<p>and</p>

<pre><code>$("canvas[name=myCanvas]")[0]
</code></pre>

<p>not worked</p>
