I have a "ReferenceError: $ is not defined" problem. People are recommending to call my JS code AFTER the page was fully loaded so I changed my page (header section) to this:
<script src="../PriceScript.js" type="text/javascript"></script>
<script>
$(document).ready(function ()
{
PriceModBatchAsm('#IDModBatchAsm') <-------- error here
});
</script>
However, again the same message: the $ is not defined.
Update:
I think I am not loading JQuery into my web page. The script worked in a different page because in that page the JQuery was already loaded like this:
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
Is this the proper way to load it?