Heim  >  Fragen und Antworten  >  Hauptteil

javascript – Datei kann unter IE11 nicht mit einem einzigen Klick geöffnet werden, wohl aber mit einem Doppelklick. Brauchen Sie eine Lösung?

<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>
扔个三星炸死你扔个三星炸死你2652 Tage vor901

Antworte allen(2)Ich werde antworten

  • typecho

    typecho2017-06-17 09:18:26

    先别设透明度,可以找到一块区域是可以单击打开的。
    然后设font-size:100px,把这块区域撑大。

    Antwort
    0
  • 代言

    代言2017-06-17 09:18:26

    我把font-size设置为100,height设为130%就可以了

    Antwort
    0
  • StornierenAntwort