<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$ (??).ready(function() { //顯示錯(cuò)誤
$("button").click(function() {
$("p").hide();
});
});
< ;/script>
</head>
>
???</body>
</html>
? ?? ???? ?? ???sublime
, 但是它只是個(gè)編輯器啊, 他的jquery plugin
應(yīng)該只是有語法提示功能吧, 你要運(yùn)行js
還是要在解釋器里運(yùn)行的(比如瀏覽器), 這時(shí)候你需要jquery.js