javascript - HTML <input type="file"> cannot pop up file selector when clicked
仅有的幸福
仅有的幸福 2017-06-05 11:09:11
0
3
840

code show as below:

<!DOCTYPE html>
<html>
<body>
<form action="" method="post" enctype="multipart/form-data">
    <input type="file">
    <button type="submit">提交</button>
</form>
</body>
</html>

The simplest and most basic HTML code, when the company computer is running, after clicking to select a file, there will be an action of the button being clicked, but the file selector will not be called out.
There should be nothing special about the company computer except that it is not connected to the external network.
I have tried 360 Rapid Browser, 360 Safe Browser, QQ Browser, and IE Browser, but they cannot bring up the file selector.
What other possible reasons may cause this problem?
Inexplicable. . .

仅有的幸福
仅有的幸福

reply all(3)
習慣沉默

I gave it a try for you. I have no problem here. I added a head and charset for you:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
    <input type="file">
    <button type="submit">提交</button>
</form>
</body>
</html>
我想大声告诉你

Are your browsers using chrome kernel or ie kernel? I can only guess that there is something wrong with ie

左手右手慢动作

Try your anti-virus software or something, or use another colleague’s computer,
or try restarting, there is nothing wrong with this code, it should be a problem with your computer

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template