title: attr('selected','selected') not work in jquery
body: <pre><code>$('#sellist option').each(function(index) {
      var str ='4/5/8';
      var substr = str.split('/');
      if (substr[0] == $(this).attr('value')) {
          $(this).attr('selected','selected');
          alert('hi'); ///For check
      }
  });
  </code></pre>
  
  <p>Every thing works fine and <code>alert</code> is fired. I havent any error in console. But <code>#sellist option</code> is not selected which I want. What is my problem. Thanks.</p>