title: how to set an option being selected by jquery in ie?
body: <p>I try to set an option being selected via its value.My code is out here.It works in FF and Chrome but not in IE.can anyone help me?</p>
  
  <pre><code>var province = $("#hideProvince").val();
  if(province != ""){
    $("#province option[value='"+ province + "']").attr("selected", "selected");
  }
  </code></pre>