我这段代码运行后,无法弹出confrim的窗口,问题出在哪里/
<!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=utf-8" />
<title>我们互动下</title>
<script type="text/javascript">
function jump()
{
var mychar=confrim("是否进入学习JS?");
if(mychar==true)
{
alert("哇塞,你这是要走上人生巅峰,迎娶白富美的节奏呀!")
}
else
{
alert("回去再好好想想!")
}
}
</script>
</head>
<body>
<p id="con">js进阶篇</p>
<form>
<input type="button" onclick="jump()" value="点击进入" />
</form>
</body>
</html>