I sometime use undefined attribute.
Example
<ul>
<li id="goFirst" url="abcd.jsp">menu1</li>
<li id="goSecond" url="abcd2.jsp">menu2</li>
</ul>
By using attribute("url"), I could easily access attribute by jQuery.
Usage in jQuery
var url = $("#goFirst").attr(url);
location.href="url";
However, I'm not sure whether this is right way to use or non-standard way.
Sorry for my English. thanks