你知道为什么我的警报不会运行,除非我删除 JQuerysrc
吗?
这是我的代码:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js">
alert('aaaaaaaaaaaaaaaaaaaaaaa');
var alist = [
['27',false,'namea','aaa'],
['28',false,'nameb','bbb'],
['29',false,'namec','ccc'],
];
</script>
</body>
</html>
这一行:
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js">
应改为:
<script>