Jquery 获取上传文件大小时间:2023-12-23 11:29:02<input type="file" id="file1" /> <script> var size = $("#file1")[0].files[0].size; </script>