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
1. I purchased a VPS and CentOS system, and found...
Problem Description When we are working on a proj...
Without further ado Start recording docker pullin...
Today I will introduce to you a difference betwee...
I won’t go into details about the theory of UDP. ...
First run the docker container Run the command as...
When using MySQL to run certain statements, a dea...
We better start paying attention, because HTML Po...
gzip is a command often used in Linux systems to ...
Table of contents 1. Get to know Teleport 2. Basi...
Since the introduction of the contentEditable attr...
Table of contents Preface Type Inference Truth va...
This article records the installation tutorial of...
Table of contents 1. Background 2. Table creation...
I started using Linux for development and enterta...