源码
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<script src="js/jquery.min.js"></script>
<script type="text/javascript">
function yb() {
alert("异步开始");
jQuery.ajax({
type: "POST",
url: "ajax.ashx",
async:"true",
data: superMan,
success: function (msg) { alert(msg); }
});
alert("异步结束");
}
</script>
</head>
<body>
<input id="Button1" type="button" value="button" onclick="yb()" />
</body>
</html>
调试运行时,IE直接提示未定义的Jquery ,其他浏览器直接没反应。
第一个弹出有效弹出,往后的js代码就没有执行,直接提示jquery 未定义。
但是我已经引入了呀
请教大神了