javascript - Trying to add more jQuery to my page but when I add in more link/script tags, the previous functioning jQuery ceases to run. Can somebody help me? -
what had working? ..................................................................
<head> <title>#</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script src="sss/sss.min.js"></script> <link href='http://fonts.googleapis.com/css?family=lato:400,700' rel='stylesheet' type='text/css'> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script src="sss/sss.min.js"></script> <link rel="stylesheet" href="sss/sss.css" type="text/css" media="all"> <script> jquery(function($) { $('.slider').sss(); }); </script> </head>
what not working?,...................................................
<head> <title>#</title> <link href='http://fonts.googleapis.com/css?family=lato:400,700' rel='stylesheet' type='text/css'> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"> </script> <script src="sss/sss.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script> <link rel="stylesheet" href="sss/sss.css" type="text/css" media="all"> <script> jquery(function($) { $('.slider').sss(); }); </script> </head>
don't load multiple jquery versions. pick 1 need , use that. multiple versions cannot coexist on same page.
Comments
Post a Comment