jQuery and CodeIgniter Chat Script |
[eluser]llbbl[/eluser]
I was working with jQuery tonight and adapted a tutorial off of sitepoint that uses jQuery so that it works with codeigniter. It is a simple chat script where a person enters their name and a message. Read more about the jQuery Chat script on my site. You have to go there to download it also, if you want to try it out. You can see it working here. It will only store the last ten lines that people put in the chat. It uses MySQL to store the messages. I couldn't figure out how to get the message in the input box to clear after you enter something. Maybe someone knows how? Code: $("#msg").empty(); I tried .remove() but that just deletes the input box. I think I am going to have to write a function to remove the value explicitly. |
Messages In This Thread |
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 01:01 AM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 02:21 AM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 12:48 PM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 08:18 PM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 08:21 PM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 11:21 PM
jQuery and CodeIgniter Chat Script - by El Forum - 11-02-2007, 11:32 PM
jQuery and CodeIgniter Chat Script - by El Forum - 10-19-2012, 11:27 AM
|