标签:
<abc-aaa xwe=‘sdf‘>AAAAAAAAAAAAAAAAAAAAAA</abc-aaa>
alert($("abc-aaa").attr("xwe"));
alert($("abc-aaa").text());
<ons-list style="margin: -1px 0" location="info">BBBBBBBBBBBBBBBB</ons-list>
alert($("ons-list[location=‘info‘]").text());
标签:
原文地址:http://www.cnblogs.com/yangy608/p/4191302.html