How do I write this JQuery function in plain JavaScript?
<p>can you please help me to write this function in plain JavaScript in the most efficient way.</p>

<pre><code>//Selects all elements matched by &lt;input&gt; that have a name value 
//exactly equal to myname.
$("input[@name=myname]") 
</code></pre>
