i routinely use some basic plugins, like cycle for image cycling, and some of the modal plugins like colorbox.
i always link to jQuery like this:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
but since the latest version a couple of weeks ago – all my scripts have stopped working. i have had to manually link to 1.7.2 or 1.8 for them to work.
any idea what happened?
thanks!
You will need to check for any JavaScript errors within your site when using jQuery version 1.9.
Because you are using this googleapi content delivery network, it automatically picks the latest version of jQuery available. With jQuery 1.9 there were a lot of changes and events/functions were removed which will cause some plugins/old code to break.
There is a high chance a 3rd party plugin is going to be using the
live()event handler which has now been removed in version 1.9.Have a read here to see what has changed. jQuery Core 1.9 Upgrade Guide