开发者

jquery conflict

my existing js is : jQuery JavaScript Library v1.4.2 and present my colo开发者_开发百科r picker js is :jQuery JavaScript Library v1.3.2 . So, I am getting conflict , plz try to help me how to solve this problem


have you tried loading 1.4.2 jQuery lib first followed by:

<script type="text/javascript">  

 var $j = jQuery.noConflict();  

</script>

and then loading 1.3.2 jQuery lib?

what this does is lets you use $j. for the first lib and then $. for the older lib which should also allow you to keep your old js code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜