title: click on element with specified data
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).on('click', $('[data-what="abc"]'), function() {
  console.log('323');
  $(this).hide();
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.title{
  background:gold;
  cursor:pointer;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class='title' data-what='abc'&gt;title&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>console.log - works.  </p>
  
  <p>element.hide - doesn't work  </p>
  
  <p>Any help?</p>