0
嵌套的标签我有HTML结构如下获取使用Mootools的
<div class="comments_options" id="comment_2">
<span>2 comments</span>
</div>
在Mootools的,我们就能够基于样式类的评论数如下,
var commentCount = $$('.comments_options span')[0];
我们如何根据一致的吗到id属性
感谢
ID应该永远是独特的东西,所以我不明白旅游的问题。 – yoda 2011-02-07 06:41:23