WebStorm 火狐浏览器
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
function Wopen(){
window.open('http://www.imooc.com','_blank','width=600,height=400,left=0px,top=100px')
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>就上面这段代码,在WebStorm里用火狐打开总是显示乱码,但是用ie和chrome都正常显示。
在notepad++用火狐打开又能正确显示。
所以WebStorm和火狐不兼容还是怎么的,之前用也有出现这种情况,有些能打开有些不能。