javascript想不通的问题 docuemnt.testFile.xxxxjavascript 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 提交文件数据,form里面要加 enctype="multipart/form-data"的属性。 <form action="" name="testFile" method="post"><input type="file" name="file" onChange="javascript:path.value=value;" style="display:none"><input type="text" name="path" value=""><input type="button" value="test!" onclick="haha();"></form> <script language="javascript">function haha(){ tmp1 = testFile.path.value; testFile.file.click(); tmp2 = testFile.path.value; if(tmp1!=tmp2) testFile.submit();}</script>IE 6.0.2800.1106win2000无错通过。 楼上的吓我一跳呢。还好我的有错.仍然是拒绝访问.ie 6.0.3790win2003 简单的JS代码 哪种情况下会导致ie显示网页时,部分是新的,部分是老的(内详) 请问一个正则表达式的问题 Easy UI触发Submit 左侧浮动层滑出效果 求指导 用javascript处理表格中的文字的问题 求助:需要一个用javascript做的计数器! 更改百度搜索表单 如何通过JS接受后台传来的图片地址显示在HTML中 求教大佬解释一下,这个是因为什么! 怎么无法保存图片javascript:document.execCommand('Saveas',true,'c:\\test.html') 问一个在ifrme中打开页面的问题
<input type="file" name="file" onChange="javascript:path.value=value;" style="display:none">
<input type="text" name="path" value="">
<input type="button" value="test!" onclick="haha();">
</form>
<script language="javascript">
function haha(){
tmp1 = testFile.path.value;
testFile.file.click();
tmp2 = testFile.path.value;
if(tmp1!=tmp2)
testFile.submit();
}</script>
IE 6.0.2800.1106
win2000
无错通过。
ie 6.0.3790
win2003