Let's take a look at the code first <form id="uploadFileForm2" name="uploadFileForm2" enctype="multipart/form-data" method="post"> <div class="upload-wapper mt20"> <input type="file" name="excelfile" id="dataFile" class="dataFile" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> <a href="javascript:;" id="uploadFile" class="upload-file">Upload file</a> <div id="J_progress_label"></div> </div> </form> // Save import $("#uploadFile").click(function(){ $("#dataFile").click() }) When uploading using If you think the file is ugly, you can use the CSS style to hide the file, then set the button to transparent and cover it. You can also use a div to wrap the Summarize This is the end of this article about the jquery.form.js access denied issue in IE, and the input upload button must be clicked actively. For more information about IE jquery.form.js access denied issue, please search 123WORDPRESS.COM's previous articles or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! |
<<: The difference between html form submission action and url jump to actiond
>>: Detailed explanation of application scenarios of filters in Vue
Preface The count function is used to count the r...
The react version when writing this article is 16...
10.4.1 The difference between Frameset and Frame ...
CSS background: background:#00ffee; //Set the back...
Table of contents 1. Routing animation 2. Group Q...
Benefits of using xshell to connect to Linux We c...
Problem description: The Linux system's netwo...
Background In Docker, four containers are created...
Table of contents 1. State Hook 1. Basic usage 2....
I believe that many users who make websites will ...
This article shares the specific code of js to re...
Union is a union operation on the data, excluding...
In the past few days, I have studied how to run s...
1. Download and install VirtualBox software First...
This article example shares the specific implemen...