I have a class like this:
<div class="photo" parameter1="custom" parameter2="custom"></div>
I have 4 parameters total.
I need a way to submit this parameters inside my photo div to be used for JQuery code and still have my website W3C compliant. Any ideas?
Set the doctype to HTML5 and use the custom data-* attributes.