Can someone help me properly set-up jquery? -
this have far , reason text doesn't turn blue-->
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 out</div> </body> </html>
get_comments.js:
$("#button").css("color","blue");
looks forgot $
before ("#button").css("color","blue");
$("#button").css("color","blue");
Comments
Post a Comment