javascript - 选择所有具有样式的 DIV 显示无

标签 javascript prototypejs

我正在使用原型(prototype)框架来选择所有具有样式 display:none

的 DIV

我正在使用

$$(".details-wrapper > div[style*=display:'none']")

$$(".details-wrapper > div[style*=display:none]")

但它不起作用。有什么建议吗?

最佳答案

尝试

$$(".details-wrapper > div[style*='display:none']");

demo .

关于javascript - 选择所有具有样式的 DIV 显示无,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10812324/

相关文章:

用于循环浏览图像的 Javascript(原型(prototype))插件

jquery - 关于复杂 ajax 的最佳 jQuery/Prototype 书籍?

javascript - jquery - 相当于 Prototype.js 的 "match"函数

javascript - 私有(private)函数和变量 ExtJs4?

javascript - 为什么 javascript 切换代码不起作用?

Javascript - 从输入中删除焦点

javascript - 是否有任何 MooTools 插件到 jQuery 插件的自动转换器?

javascript - 使用 Prototype/JS 将 id 插入 div 中

javascript - 使用递归函数迭代嵌套对象,返回未定义

javascript - 创建根(...): Target container is not a DOM element in React Test file