首先給input[type=file]標籤包裝一個外圍容器,這裡我使用span元素,當然其他元素也可以。 代碼如下:. <span id="uploadBtn">選擇文件. <input type="file" class="file">.
確定! 回上一頁