jQuery changing the name of a field
<p>im trying to change the name of a field on the change state of a select list.</p>

<p>I have the following code</p>

<pre><code>&lt;script&gt;
$('#selectintrole').change(function(){
    $('#proven_keyname').val($(this).val());
};
&lt;/script&gt;

&lt;select name="item_options" id="selectintrole"&gt;
&lt;option value="20030"&gt;Universal (20030)&lt;/option&gt;
&lt;option value="4545456"&gt;Medium (4545456)&lt;/option&gt;
&lt;option value="15447"&gt;Large (15447)&lt;/option&gt;
&lt;/select&gt;

&lt;input name="proven" value="1" type="checkbox" id="proven_keyname" /&gt;
</code></pre>

<p>It doesnt seem to be doing anything though ... when i check the generated source, nothing has changed .... am i missing something?</p>
