sandhya Posted June 28, 2011 Share Posted June 28, 2011 Hi all, I have a prob with comet.basically it is working fine with out including the jquery & jquery Ui files. But fo the remaining scripting i need these files. I "ll be very thankful those who can help me. Its very urgent. I'm using the following js files in the php page. 1. jqueryui/js/jquery-1.5.1.min.js 2. queryui/js/jquery-ui-1.8.13.custom.min.js 3. jquery.path.js 4. jquery.min.js and for comet using 5. prototype.js when above all these files are included the comet functions are not working. if i exclude 1st & 4th files, its working fine. But i need above all files. How can be it solved. Its very urgent.Please anybody help me. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/240590-comet-not-working-properly/ Share on other sites More sharing options...
Adam Posted June 29, 2011 Share Posted June 29, 2011 Both jQuery and prototype use '$' as a short-cut within their frameworks, and so you get conflicts when trying to combine the two. I don't know of an equivalent for Prototype, but jQuery has a noConflict() function you can use to prevent it. Given Prototype is only used for that one solution though, it wouldn't really make sense to do that. Have you looked at a jQuery equivalent for Comet support? Quote Link to comment https://forums.phpfreaks.com/topic/240590-comet-not-working-properly/#findComment-1236228 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.