Hi Ralph,
I don't understand $ alias much. In source code, i changed $ to $jq
for example. But still got conflict.
After all, I changed function name remove to removeNode in
jquery.treeview.async.js. Oops it does help me.
Thanks for your help.
Van
On Feb 11, 1:44 pm, Ralph Whitbeck
Try to put the code in an anonymous function like so:
(function($){
// the code of treeview
})(jQuery);
More about this method and its purpose you can read - here
http://jquery-howto.blogspot.com/2008/12/what-heck-is-function-jquery.html
On Thu, Feb 12, 2009 at 12:06 PM, pilgrim
noConflict will only release the $ back to the other library.
You'll need to go through and update your jQuery lines like so
from
$(div).hide();
to
jQuery(div).hide();
http://docs.jquery.com/Core/jQuery.noConflict
Ralph
On Feb 10, 9:59 pm, pilgrim leva...@gmail.com wrote:
Hi,
I'm using
3 matches
Mail list logo