document.getElementById("file").files[0]的jQuery写法
展开阅读全文
$("#file")[0].files[0];
等价于
document.getElementById("file").files[0]