标签:
<div id="div_test" data-test="this is test" ></div>
$("#div_test").data("test"); //this is test!
$("#
div_test
在HTML5规范中div中读取预存的data-[key]值
原文地址:http://www.cnblogs.com/yangcclg/p/5803506.html