I am beginner, learning jQuery I am getting error which says that jQuery is not defined , anyone please help me to get out of this frustration. I saved the following code as .html file but it is not displaying the desired results.
<html>
<head>
<script type="text/javascript">
jQuery("p").addClass("ohmy").show("slow");
</script>
<style>
.ohmy{
background-color:blue;
color:red;
}
</style>
</head>
<body>
<p class="neat" style="display:none;">
congratulation
</p>
</body>
</html>


Reply With Quote

Bookmarks