Originally Posted by fishbaitfood
I have this PHP-jQuery-Ajax chat application, which uses PHP to open and write to a logfile and with jQuery and Ajax displaying and posting the messages.
However, when loading the logfile with Ajax, there's a setInterval attached to reload it every 2.5 seconds or so.
Now my problem is that when selecting content of the chatlog, the selection gets removed obviously, because of the reloading.
How can I make the messages kind of permanent on the page, for selecting posted links and such.
This must be possible some way, right, because chatmodules like Facebook's one also achieves this.
Can someone please inform or instruct me on how to do this?
A link to your test page would do wonders for us.