Is it considered bad practice to use non-standard HTML attributes?
- by user198729
I find it very convenient to set arbitary attributes like:
<a stackoverflowId="123">...</a>
And in JavaScript:
var soId = $selectofA.attr('stackoverflowId'); //jQuery
Is it a good practice at all? I've never had a problem with this yet.