为什么拒绝访问,图片地址是正确的。

lakewang2008 2009-04-01 11:24:38
<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Insert title here</title>

</head>
<script type="text/javascript">
function tt(){
alert('ok');
window.open('C:\339487small.jpg');

}
</script>


<body>



<form>
<input type="button" name=name1 value="tt" onclick="tt()">

</form>


</body>

</html>
...全文
199 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
sherry521 2009-04-01
  • 打赏
  • 举报
回复
window.open
LZ是不是在火狐下运行的?
仿佛有些浏览器已经不支持window.open了
sherry521 2009-04-01
  • 打赏
  • 举报
回复
window.open
LZ是不是在火狐下运行的?
仿佛有些浏览器已经不支持window.open了
smallclub 2009-04-01
  • 打赏
  • 举报
回复
window.open('C:\\339487small.jpg');
jinchun1234 2009-04-01
  • 打赏
  • 举报
回复
window.open('C:\\339487small.jpg');
HinanaiTenshi 2009-04-01
  • 打赏
  • 举报
回复
C:\339487small.jpg....这可不叫正确...
javabeginner2006 2009-04-01
  • 打赏
  • 举报
回复
好像应该这样吧
window.open('C:\\339487small.jpg');
sherry521 2009-04-01
  • 打赏
  • 举报
回复
膜拜下紫竹老大

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧