set drop down value using Jquery
<p>I am new to jquery.</p>

<p>In my appllication i am using a cascading drop down, and once i get value in list from c# i call below function and pass the list as response and drop down as control.</p>

<p>below code is working fine however instead of appending and selecting 'None', i want to select 'None' in my drop down as 'None' is already available in my list.</p>

<pre><code>control.empty().append('&lt;option selected="selected" value="0"&gt;None&lt;/option&gt;');
</code></pre>

<p>Please help in </p>

<pre><code>function PopulateControl(response, control)
{    
  if (response.length &gt; 0) 
     {
       control.removeAttr("disabled");  
       control.empty().append('&lt;option selected="selected" value="0"&gt;None&lt;/option&gt;'); 
       $.each(response, function(){control.append($("&lt;option&gt;&lt;/option&gt;").val(this
       ['Value']).html(this['Text'])); }); }
else {
     control.empty().append('&lt;option selected="selected" value="0"&gt;
      Not available&lt;option&gt;'); 
           }
    }
</code></pre>
