有人可以帮我正确设置jquery吗?

use*_*267 0 jquery

这是我到目前为止,由于某种原因,文本不会变成蓝色 - >

Testing.html:

<html>
<head>
<script src = "jquery-1.5.min.js" type = "text/javascript"></script>
<script src = "get_comments.js" type = "text/javascript"></script>
</head>
<body>
<div id = "button">testing this out</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

get_comments.js:

$("#button").css("color","blue");
Run Code Online (Sandbox Code Playgroud)

Dog*_*ert 6

看起来你忘了$之前("#button").css("color","blue");

$("#button").css("color","blue");
Run Code Online (Sandbox Code Playgroud)