0

I am building control that uses last version of jstree. Problem is that whole system is build using jQuery 1.3.2, but i need to use jQuery 1.4.2 for jstree, also to prevent errors need "$" still pointing to jQuery 1.3.2 to make system works normally. I tried to solve problem like this

var jq142 = jQuery.noConflict(true);

And it works, but when i added other control to form like "datepicker" that initialized via $("#id").datepicker it throws error $("#id").datepicker is not a function

When i inspect DOM variables through firebug all is ok - $ is pointing to 1.3.2 and datepicker function is registered.

What it can be?

Thanks

4

1 回答 1

1

如果有人通过寻找未解决的问题来解决这个问题,答案是简单地升级到 1.4。*

顺便说一句:jQuery 1.7 刚刚发布...是时候再次升级了 ;-)

于 2011-11-13T17:18:15.770 回答