Set a select value with jQuery not working
<p>All,
I have the following bit of HTML code for a select box:</p>

<pre><code>&lt;select name="display_dj_entries" id="display_dj_entries"&gt;
&lt;option value="original"&gt;Select a DJ&lt;/option&gt;
&lt;option value="1"&gt;1&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I'm trying to set this value back to the original value when another select box is changed on my page. I have the following jQuery to do this:</p>

<pre><code>jQuery(document).on('change','#display_gear_entries',function(event){
    var selected_value = jQuery(this).val();
    jQuery("#display_dj_entries option[value='original']").attr("selected", "selected");
});
</code></pre>

<p>It isn't setting the value back to the original value but instead leaving it set to the value of 1. What am I doing wrong on this?</p>

<p>Thanks!</p>
