编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
jQuery API 开发手册

返回值:Array<Element(s)>element

概述

根据给定的元素名匹配所有元素

参数

elementStringV1.0

一个用于搜索的元素。指向 DOM 节点的标签名。

示例

描述:

查找一个 DIV 元素。

HTML 代码:
<div>DIV1</div>
<div>DIV2</div>
<span>SPAN</span>
jQuery 代码:
$("div");
结果:
[ <div>DIV1</div>, <div>DIV2</div> ]
相关文章
css element selectors indexjquery easyui easyui更新说明jquery easyui cell editing in datagrid 单元格编辑表格 jquery easyui menu 菜单 jquery easyui timespinner 时间微调 addclass class|fn jqueryelement jqueryindex selector|element jqueryjquery.data element key value jqueryparentsuntil expr|element filter jqueryqueue element queuename jquerywrapinner html|element|fn jqueryjquery elementjquery index selector|element php cachingiterator return the string representation of the current elementphp cubrid 函数 insert a single element to set type column using oidphp opcode descriptions and examples add array elementphp oci collection assigns a value to the element of the collectionphp simplexmlelement adds an attribute to the simplexml elementphp splpriorityqueue inserts an element in the queue by sifting it up
关注编程学问公众号
编程学问网 湘ICP备20001732号