title: how to select data-id and data-action in jQuery
body: <p>This is a follow-up to this question: <a href="https://stackoverflow.com/questions/7271149/using-javascriptfunction-syntax-versus-jquery-selector-to-make-ajax-calls">Using javascript:function syntax versus jQuery selector to make Ajax calls</a></p>
  
  <p>How would I select this fragment?</p>
  
  <pre><code>&lt;div data-id="54" data-action="follow-global-id" class="add-to-list"&gt;here is my answer&lt;/div&gt;
  </code></pre>
  
  <p>I have the id value below and tried this </p>
  
  <pre><code> $('.add-to-list[data-action|="action-follow-global-id"][data-id|=id]').text('here is the things jtjt in the id value');
  </code></pre>
  
  <p>but no dice. Need to be AND'ing these together.</p>
  
  <p>thx for help</p>