title: custom data attributes alternative?
body: <p>The following code is in a while loop, with values from the database.  I am storing these values in custom data attributes for jQuery.  </p>
  
  <pre><code>&lt;div class='pending-information' data-id='$id' data-pid='$position' data-sid='$sid' data-image='$image' data-counter='$counter' data-start='$start'&gt;&lt;/div&gt;
  </code></pre>
  
  <p>What is the professional approach? This method won't be valid in XHTML1.  So whats the common method for storing attributes/values for jQuery?</p>