lylez Posted March 5, 2013 Share Posted March 5, 2013 Per http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_lib_google I tried using <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> in order to use JQuery, but it didn't work. After some research, I changed it to this: <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> and then it worked. Might want to update the tutorials. Regards lylez Link to comment Share on other sites More sharing options...
thescientist Posted March 5, 2013 Share Posted March 5, 2013 odd, the try-it example worked for me, although that is a malformed URL and it should be changed to be absolute by adding http:, since this is validhttp://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js Link to comment Share on other sites More sharing options...
Angelica Perduta Posted September 17, 2013 Share Posted September 17, 2013 (edited) I use: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script> I was told only to specify the main version number (1 in this case) and it will pick the latest version 1. By convention is guaranteed to be backward compatible with any earlier version 1's only with extra features and bug fixes. If you do go up to version 2 however then you may find some things don't work the same and in particular I think they are dropping support for Internet explorer pre version 9 to make it more efficient. Note: as far as I'm concerned they can drop support for internet explorer... full stop - but that's a different matter ;o) p.s. The important reason for using the Google hosted version is that it is probably already cached and so saves time. However if you use a different URL then you do not get that benefit and so I'm advocating we identify which one is the right one to use! Edited September 17, 2013 by Angelica Perduta 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now