i have a html select which has multiple select option enabled.I want to to show values selected which are in database.
eg : from database i will get values like this 2009 or 2009,2010 or 2009,2010,2012..i mean it may contain ',' or may not..
and my html select is
<select id="year_selected" tabindex="14" name="year_selected" multiple="multiple">
<option>2009</option>
<option>2010</option>
<option>2011</option>
<option>2012</option>
</select>
How do i do it jquery