返回值:Array<Element(s)>:submit
V1.0概述
匹配所有提交按钮
示例
描述:
查找所有提交按钮
HTML 代码:
<form>
<input type="text" />
<input type="checkbox" />
<input type="radio" />
<input type="image" />
<input type="file" />
<input type="submit" />
<input type="reset" />
<input type="password" />
<input type="button" />
<select><option/></select>
<textarea></textarea>
<button></button>
</form>
此在线速查手册由www.w△√3△√x△√u△√e.com提供,请勿盗用!
jQuery 代码:
$(":submit")
此在线速查手册由www.w△√3△√x△√u△√e.com提供,请勿盗用!
结果:
[ <input type="submit" /> ]
此在线速查手册由www.w△√3△√x△√u△√e.com提供,请勿盗用!