title: jquery set selected option by data-value
body: <p>I have this select</p>
  
  <pre><code>&lt;select id="myselect&gt;
    &lt;option value="1" data-value="rome"&gt;First option&lt;/option&gt;
    &lt;option value="2" data-value="paris"&gt;Second option&lt;/option&gt;
    &lt;option value="3" data-value="london"&gt;Third option&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And I have my ajax function that on success must set selected by data-value</p>
  
  <pre><code>$.ajax({
     ...
     success: function(response) {
        // response.val is paris
        $("#myselect option[data-value=" + response.val +"]").attr("selected","selected");
     ...
  </code></pre>
  
  <p>But doesn't work because of "unrecognized expression"</p>