Hello All,
I'm new to Jquery and am running into an issue when trying to put my JQuery scripts into a separate file in my project folder. I'm working with a plug-in called Corner. Here is the relevant part of the HTML file
<script type="text/javascript" src="scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="scripts/jquery.corner.js"></script>
<script type="text/javascript" src="scripts/myJQuery.js"></script>
Commenting out the above line, and uncommenting the script below makes the plug in work. The contents of myJQuery.js are the exact script below (excluding script tags).
<!--<script>
$(document).ready(function()
{
$("div.container").corner();
$("div.linkList").corner();
})
</script>-->
<body>
<div class ="container">
<div class ="header"></div>
<div class ="linkList"></div>
</div>
</body>
Any ideas on why the same code is working one way (in HTML file), but not the other way (separate .js file)? Thanks in advance.