昨天找了一天,终于发现问题所在,估计是ie6的bug
解决方案 »
- 如何获取所有偶数和奇数行的name属性
- 页面执行顺序
- IE里面有没有类似于FF下 HTMLElement的对象?
- 想做一个类似于任务栏那种效果的DIV,多多指教,谢谢
- selectNodes在Netscape中不支持,请问用哪个方法能代替它,谢谢.
- 请问在javascript中的,这条语句正确的写法?
- 在ASP环境下,怎样在JAVA脚本中读取数据库的记录?----急!
- 有好的JAVASCRIPT编程方面的书吗?
- 如何令页面打开后,大小固定,不能再变,急,急,急
- 想请教一个问题:用户填完表以后,可以下载下来,这些需要前端做啥?
- 带领学生做的js代码手记(一)
- 用Js如何实实HTML中frame的效果?
这个地方必须这样写,不然会报错的,就是说必须把 </script>这个字符串拆开
不信你试试
这个地方必须这样写,不然会报错的,就是说必须把 </script>这个字符串拆开
不信你试试
不要考虑action,还没到那一步,就是说选择文件以后,根本提交不了就算action为空也是会提交到当前页面。
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
</head><body>
<script type="text/javascript">
top.window.document.write("<script type=\"text/javascript\">location.href='http://www.google.cn'<\/script>");
</script></body>
</html>
16.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
</head><body>
<script type="text/javascript">
top.window.document.write("<script type=\"text/javascript\">location.href='17.html'<\/script>");
</script></body>
</html>17.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
</head><body>
<form name="form1" method="post">
<input type="file" name="file" />
<input type="submit" value="提交" />
</form>
</body>
</html>
你是说不拆开 </script> 没问题,还是说17.html可以提交文件了?
你是说不拆开 </script> 没问题,还是说17.html可以提交文件了?