<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>
<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>
LZ是不是在火狐下运行的?
仿佛有些浏览器已经不支持window.open了
LZ是不是在火狐下运行的?
仿佛有些浏览器已经不支持window.open了
window.open('C:\\339487small.jpg');