How To Fix 'jquery Is Not Defined' Error In Jquery Library?
Rails fix: make sure <%= javascript_include_tag 'application' %> is before any script loading so that jquery gets loaded first. This seems really odd. When I load my page I
Solution 1:
your
<scripttype="text/javascript"src="jquery.js"></script>
needs to be called before jquery ui < script > tags.
Should appear like this:
<scripttype="text/javascript"src="jquery.js"></script> <-- put me here -->
<scriptsrc="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script><scriptsrc="http://bainternet-js-cdn.googlecode.com/svn/trunk/js/jQuery%20BlockUI%20Plugin/2.39/jquery.blockUI.js"></script>
Solution 2:
jQuery UI doesn't include the standard jQuery library by default. You'll need to add a <script>
tag to include the standard jQuery library before including any plugins that use it.
Post a Comment for "How To Fix 'jquery Is Not Defined' Error In Jquery Library?"