title: how to get selected value of data list by jquery
body: <p>how to get selected value of data list by j query.I want to set a value on data list by j <code>query</code>.
    I had use this to select a value through javascript</p>
  
  <pre><code> $('#departmentIdcc option[value='+departiddd+']').attr('selected', 'selected');
  </code></pre>
  
  <p>Thanks</p>