title: How to get data key name from data attribute?
body: <p>I want to get key name from my html element? </p>
  
  <p>Sample code :</p>
  
  <pre><code> &lt;td data-code="123"&gt;220&lt;/td&gt;
  </code></pre>
  
  <p>Using jquery data method I am able to key value but I want to extract key name?</p>
  
  <pre><code>var keyValue=$("td").data("code"); //123
  
  
  var keyName=?????
  </code></pre>