求助简单问题…… 个 笨那 在上传的时候 用 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自定义插件中使用原来的插件【米人吗???】 touchscroll怎样设置层上下滑动? IE和Mozilla Firefox 的兼容问题 怎么让这JS有效果啊?看看这个搜索框为什么没有下拉搜索提示栏.. 用JQuery动态替换网页元素? 抽象类 子页面回传值问题 jquery 分页,前端 多条件查询,求demo 请问parseInt(str,16)这一句怎么解释? 能获得鼠标的按下与释放的消息吗? 求教如何替换字符串中的符号 高分求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>