Re: [jQuery] How should I structure this?

2010-01-04 Thread Randall Morgan
On the backend you could add a timestamp for when items are added to the database. Then your query would return anything with a timestamp newer than the last time you asked for items. in client js: last_request = time(); Then send the time along with your request to the server script. on the ser

[jQuery] How should I structure this?

2010-01-04 Thread Apaz
Hello Lets say we have a database where things are going to be added at random times, over the whole day. I want a AJAX script to load new items every 5s (its a local database so no problem with spamming it) and for each of these items I have to do a AJAX request to get some more data... >From th