文件名称:getElementsBySelector
- 所属分类:
- JSP源码/Java
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2014-09-14
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- Bal****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
document.getElementsBySelector(selector)
- returns an array of element objects from the current document
matching the CSS selector. Selectors can contain element names,
class names and ids and can be nested. For example:
elements = document.getElementsBySelect( div#main p a.external )
Will return an array of all a elements with external in their
class attribute that are contained inside p elements that are
contained inside the div element which has id= main -document.getElementsBySelector(selector)
- returns an array of element objects from the current document
matching the CSS selector. Selectors can contain element names,
class names and ids and can be nested. For example:
elements = document.getElementsBySelect( div#main p a.external )
Will return an array of all a elements with external in their
class attribute that are contained inside p elements that are
contained inside the div element which has id= main
- returns an array of element objects from the current document
matching the CSS selector. Selectors can contain element names,
class names and ids and can be nested. For example:
elements = document.getElementsBySelect( div#main p a.external )
Will return an array of all a elements with external in their
class attribute that are contained inside p elements that are
contained inside the div element which has id= main -document.getElementsBySelector(selector)
- returns an array of element objects from the current document
matching the CSS selector. Selectors can contain element names,
class names and ids and can be nested. For example:
elements = document.getElementsBySelect( div#main p a.external )
Will return an array of all a elements with external in their
class attribute that are contained inside p elements that are
contained inside the div element which has id= main
(系统自动生成,下载前可以参看下载内容)
下载文件列表
getElementsBySelector.js