title: Select td based on data attribute
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4146502/jquery-selectors-on-custom-data-attributes-on-html5">Jquery selectors on custom data attributes on HTML5</a>  </p>
  </blockquote>
  
  
  
  <p>How can I select all <code>td</code> with html data attribute equal to some value?</p>
  
  <p>E.G. <a href="http://jsfiddle.net/smacky311/WbJdB/2/" rel="noreferrer">Fiddle</a></p>
  
  <pre><code>$("td").dblclick(function (e) {    
      var columnNumber = $(this).data('column');
      console.log(columnNumber);
      $("td column=" + columnNumber).css('background-color', 'blue');;
  });
  </code></pre>