title: How to get the value of an html attribute
body: <p>I have the following jquery code :</p>
  
  <pre><code>$j = jQuery.noConflict();
              function displaySelected(elem){
                  var value = $j(elem).find(".columnToHide").html();
                  console.log(value);
  
              }
  </code></pre>
  
  <p>The out put of this is : <code>&lt;div class="hiddenId" data="a05o000000V88VFAAZ"&gt;&lt;/div&gt;</code>.
  However, I would like to only get the value in the data tag i.e. the id. I know you can do something like this.. </p>
  
  <pre><code>.html("&lt;div class='hiddenId' data='a05o000000V88VAAAZ'&gt;&lt;/div&gt;") 
  </code></pre>
  
  <p>but this doesn't strip the tags. Any help please</p>