MooTools(还有其他库)提供了一个简单的方法来实现此功能 - 双美元符号(dollar-dollar)函数。它的工作方式与单美元符号函数相同,不同之处在于它接受 CSS 元素名、类名、伪选择器作为参数,而不是接受元素 ID 作为参数...
基于28个网页-相关网页
同样,与使用双美元符号函数根据标记或类名检索元素不同的是,YUI 使用了 Y.all 函数
Similary, rather than using the dollar-dollar function to retrieve elements by tag or class name, in YUI you use the Y.all function instead
MooTools(还有其他库)提供了一个简单的方法来实现此功能—双美元符号(dollar - dollar)函数。
MooTools (and some of the other libraries) provide a very simple method to do this-the dollar-dollar function.
应用推荐