How do I set the value of an input-element via jQuery, when I only know it's "name"-attribute
<p>I need to reset some text-boxes which only have an unique name (not an unique id).
I tried it with jQuery, but my code seems to do nothing:</p>

<pre><code>$('input[name=customergroupname]').value="";
</code></pre>
