【发布时间】:2009-08-06 15:41:59
【问题描述】:
我必须第一次使用 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(); 提取文本,但它不起作用。我需要纯文本形式的“测试”。
谁能告诉我怎么做?
提前致谢
【问题讨论】: