I have started to create a chat page between an admin and a user.
the bit i am stuck with is getting the textarea to update with whats in the database if it has been updated.
at present i am using meta-refresh but this is not practicle as the user or admin could be typing when the refresh happens and the text they started to type would go!
how do i get the page to check for updates?
the bit i am stuck with is getting the textarea to update with whats in the database if it has been updated.
at present i am using meta-refresh but this is not practicle as the user or admin could be typing when the refresh happens and the text they started to type would go!
how do i get the page to check for updates?
Comment