javascript - Including jquery.tools.js breaks other jquery functions -


i using jquery rating features , enlarge images on website. working until include: http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js. @ point mozilla error console says $('rating_div').rating(params ..) not function , same enlarge image one. if remove include, works again.

if include normal jquery.js file after tools.js one, normal jquery works tools.js 1 doesn't.

i have seen other people have had issues cannot find resolution. ideas?

thanks.

you're including jquery 1.4.2 again file you're including (which erases plugins, since re-defined jquery object), instead of this:

http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js 

use this:

http://cdn.jquerytools.org/1.2.5/all/jquery.tools.min.js 

visit download page (at bottom) full list of cdn files , include.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -