求助简单问题…… 个 笨那 在上传的时候 用 for each in 把INPUT VALUES 都给上传就行了,FORM里面的NAME 无所谓了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><form name="form1" action="upload.php" method="post" enctype="multipart/form-data"><input name="upfiles0" id="upfiles0" type="file" size="40" maxlength="100" onChange="get_name(this)"><br><input name="upfiles1" id="upfiles1" type="file" size="40" maxlength="100" onChange="get_name(this)"><br></form><input type="button" value="获取upfiles1的值" onClick="get_name1()"><script language="javascript">function get_name(f){ alert(f.value);}function get_name1(){ alert(form1.upfiles1.value);}</script><body></body></html> jQuery中的unload()事件为什么不起作用 有关object prototype和ajax Ext中的柱状图,如何在图上显示各个柱的横纵坐标信息? 急!ext的报错! 如何在js里面判断正负数以及运算 用previousSibling和nextSibling也解决不了的问题 JS代码中代入ASP变量的问题 定向下一页的问题 还是菜单问题(哈哈,我可以给30分了) vue详情页传参成功,但是无法渲染数据 求教如何替换字符串中的符号 高分求js树!!!!!!!!!
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<form name="form1" action="upload.php" method="post" enctype="multipart/form-data">
<input name="upfiles0" id="upfiles0" type="file" size="40" maxlength="100" onChange="get_name(this)"><br>
<input name="upfiles1" id="upfiles1" type="file" size="40" maxlength="100" onChange="get_name(this)"><br>
</form>
<input type="button" value="获取upfiles1的值" onClick="get_name1()">
<script language="javascript">
function get_name(f)
{
alert(f.value);
}
function get_name1()
{
alert(form1.upfiles1.value);
}</script>
<body>
</body>
</html>