jQuery :file 選擇器

實例

選擇 type="file" 的 <input> 元素:

$(":file")

親自試一試

定義和用法

:image 選擇器選取類型為 file 的 <input> 元素。

語法

$(":file")