javascript - How to use $ for jQuery inside domready when prototype is using $ outside? -
i'm unable remove prototype jsf framework (richfaces 3.3.3). , if try noconflict , try take on $ breaks application framework because tightly coupled prototype.
so there way can this:
jquery(function() { /* code within domready function allows me use $() within function , not interfere $ being used prototype outside? */ });
yes, it's passed in first parameter ready
handler, use:
jquery(function($) { $("selector").dosomething(); }); //$ still prototype here
Comments
Post a Comment