Jump to content

Comet not working properly


sandhya

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/240590-comet-not-working-properly/
Share on other sites

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.