Set defualt value to dropdown if null - jquery
<p>A very easy one but i find it very difficult.I have one drop down in which values generated at runtime.</p>

<pre><code>  &lt;select id="cmbCitySub" name="cmbCitySub" multiple="multiple"&gt;
         &lt;asp:Literal ID="litCitySub" runat="server"&gt;&lt;/asp:Literal&gt;
  &lt;/select&gt;
</code></pre>

<p>I have used jquery multiselect plugin in drop down.</p>

<pre><code>$('#cmbCitySub').multiselect({
    noneSelectedText: 'Select CitySub',
    selectedList: 1,
    multiple: false
}).multiselectfilter();
</code></pre>

<p>My above drop down is optional i.e. if user doesnt select any value default 0 should be set . i have tried it in jquery BUT FAILED...!!</p>

<pre><code>if ($('#cmbCitySub').val() == null) 
     {
     $('#cmbCitySub').val('0');
     }
var sCitySub = $('#cmbCitySub').val();
alert(sCitySub);
</code></pre>
