Is it good practice to set non-standard html attributes?
- by user198729
I find it very convenient to set arbitary attributes like:
<a stackoverflowId="123">..
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.