<p>jQuery sets this paragraph's color to red but MooTools sets the border color.</p> <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript"> //no conflict jquery jQuery.noConflict(); //jquery stuff (function($) { $('p').css('color','#ff0000'); })(jQuery); </script> <script type="text/javascript" src="moo1.2.js"></script> <script type="text/javascript"> //moo stuff window.addEvent('domready',function() { $$('p').setStyle('border','1px solid #fc0'); }); </script>
Using jQuery and MooTools Together
By Web Designer & Web Developer
Mumbai April 12, 2011Cross Browser Compatibility, Joomla, Jquery, Moo tools, Tips-n-Tricks, Tools, Web development
Comments Off on Using jQuery and MooTools Together