-
Install
bower install arodu-jquery-comet
-
Connection
var comet = $.comet({ url: 'comet.php', onMessage: function(m){ // Actions } });
-
start
comet.start();
-
stop
comet.stop();
-
options
$.comet({ url: 'comet.php', timeout: 60000, type: 'GET', dataType: 'json', autoStart: true, url: null, // String onMessage: function(){}, onError: function(){}, });
arodu/jquery.comet
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Easy comet with jquery
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published