javascript - File cannot be opened by single click under IE11, but can be opened by double-clicking. Need a solution?
扔个三星炸死你
扔个三星炸死你 2017-06-17 09:16:26
0
2
903

<form action="" id="formPathfile" name="formPathfile" method="post" enctype="multipart/form-data" onsubmit="return false">

    <input type="hidden" id="itemid" name="itemid" value=""/>
    <input type="button"  style="width:100px;  position: absolute;left: 0;top:0; " value="Browse Flie" >
    <input type="file" id="pfile" value="" name="pfile" style="width:150px;height:28px;margin-top:-8px; filter:alpha(opacity=0);
opacity:0; font-size:0" onchange=""  />
</form>
扔个三星炸死你
扔个三星炸死你

reply all(2)
typecho

Don’t set the transparency first, you can find an area that can be clicked to open.
Then set font-size:100px to make this area larger.

代言

I set the font-size to 100 and the height to 130% and that’s it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!