Jump to content

Remove line from a div using javascript


troy_mccormick

Recommended Posts

Hey everyone,

 

As I'm sure most of you are aware from all of my posts related to the PHP side of things, I am attempting to create a poker site using PHP, javascript and such.  I have run into a bit of a problem that I would like your help with.

 

When data comes in via the ajax call, I populate the chat box with whatever is coming in.  However, in my tests we have found that if there is too much data in this div the application slows down tremendously.  Is there a way to trim lines using javascript?

 

Thanks you in advance,

 

Troy

Link to comment
https://forums.phpfreaks.com/topic/68739-remove-line-from-a-div-using-javascript/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.