In my main page I have a list of users and i'd like to choose and open a channel to chat with one of them.  I am thinking if use the id is the best way and control an access of a channel like USERID1-USERID2.  But of course, user 2 can open the...
I have this code, to load chat      function getMessages(letter) {     var div = $("#messages");     $.get('msg_show.php', function(data) {         div.html(data);        }); }  setInterval(getMessages, 100);   What I have to add, to...
I have to build a simple chat system in PHP using Comet.  I don't know what would be the best approach to this project.  What is the best technique (cross-browser would be nice) to use, and how to implement it? What libraries can I use that alrea...
I'm trying to send a chat message in Facebook using Javascript, but keep getting an error message. Either it being TypeError: Object #<NodeList> has no method 'WHATEVERIPUTHERE'  Basically o = the chat text area.  The o.WHATEVERIPUT...
I have a div that should be collecting text as text is entered into the input box (right now it just reproduces the input, but later it should produce semi-intelligent responses.)  I want the text to appear at the bottom of the div, at the dark end o...
Please recommend Secure, customizeable, open-source chat on PHP/JavaScript for all popular browsers....
So, every time I refresh the page, it seems like sockjs is creating a new connection.   I am saving every message to my mongodb on every channel.onmessage, so if I refresh my page 7 times and send a message, I would save 7 messages of the same conten...
I'm trying to code a page with two segments "chat" and "content". I want that one "chat" segment the page auto-scroll to the bottom with no effect. The chat is a <ion-list> with several <ion-item>.  <ion-lis...
What way will be best to write online chat with js? If i would use AJAX and update information about users and messages every 5sec - HTTP requests and answers will make big traffic and requests will make high server load.   But how another? Sockets?...
With the Net Stream Object with TCP works great (as presetend in the node.js introduction video), but how should I do this in HTTP?  Is there a way to access sockets/clients within an http.createServer() ? Or what's the method to do it? I tried t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.