Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anybody used Dojo and JQuery in the same project?

Tags:

jquery

dojo

Has anybody used Dojo and JQuery in the same project? I need a Dojo object oriented part ( and nothing more ) and JQuery for easier presentation, but I am afraid of collision and name clashes. Is it possible to use both on the same page ?

like image 575
Almira Bojani Avatar asked May 24 '11 06:05

Almira Bojani


2 Answers

use jQuery.noConflict(); before writing jQuery code block

more information :

http://api.jquery.com/jQuery.noConflict/

read this article too:

http://www.sitepen.com/blog/2010/11/15/from-jquery-to-large-applications/

like image 188
diEcho Avatar answered Nov 08 '22 10:11

diEcho


Yes, it is possible and I am doing that right now. I am using Dojo for its framework and JQuery for presentation. It works seamlessly and there shouldn't be any conflicts. Do read the second article mentioned by diEcho.

like image 38
newtodatatables Avatar answered Nov 08 '22 10:11

newtodatatables