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

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

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>
jQuery 代码:
$(":file")
结果:
[ <input type="file" /> ]
相关文章
jquery easyui 汉化说明jquery easyui passwordbox 密码框 jquery easyui menubutton 菜单按钮 jquery easyui datagrid 数据表格 ajaxcomplete callback jquery file jqueryjquery filephp rpm reader 函数 retrieves a header tag from an rpm filephp ssh2 函数 send a file via scpphp swoole 函数 read file stream asynchronouslyphp yaml 函数 send the yaml representation of a value to a filephp mongogridfsfile returns this file s contents as a string of bytesphp phar convert a phar archive to another executable phar archive file formatphp phardata add a file from the filesystem to the tar/zip archivephp quickhashintstringhash this factory method creates a hash from a filephp splfileinfo gets the owner of the filephp splfileobject flushes the output to the filephp streamwrapper tests for end of file on a file pointerphp swoole http client download a file from the remote server.php ziparchive open a zip file archive
关注编程学问公众号
编程学问网 湘ICP备20001732号