我必须第一次使用 jQuery....
<a class="Tag Resource" href="http://localhost/"
resource="http://localres/" property="prop">test</a>
我尝试使用提取文本var = $('a').find('Tag Resource').text();
,var = $('a').find('Tag Resource').html();
但它不起作用。我需要“测试”作为纯文本。
有人可以告诉我该怎么做吗?
提前致谢