本文介绍了javascript窗口打开:五个按钮,每个按钮使用javascript打开单独的窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的网页中有五个按钮.我想使用javascript在单击每个按钮时多次打开同一窗口.意味着每个按钮单击都会打开一个窗口以进行文件上传.

请给我建议.

谢谢与问候
Ganu

Hi,

I have five button in web page. i want to open same window multiple on click on every button using javascript. means every button click open one window for fileupload.

Please suggest me.

Thanks & Regards
Ganu

推荐答案

<!DOCTYPE html>
<html>
<head>
<script>
</script>
</head>
<body>
<form>
 <input type='file' id='upload1'/><br>
 <input type='file' id='upload2'/><br>
 <input type='file' id='upload3'/><br>
 <input type='file' id='upload4'/><br>
 <input type='file' id='upload5'/><br>
</form>
</body>
</html>


这篇关于javascript窗口打开:五个按钮,每个按钮使用javascript打开单独的窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 19:17