Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.