HTML5中,自定义的属性以 data—* 开头
例如:
<a href="javascript:;" data-mydata="hahaha"> haha </a>
jQuery 中的用法如下:
var mydata = $(this).data('mydata')