Hi all I'm looking to populate a div with information from a database ... don't want to pass any parameters to the serverside script, just want the div updated according to my query if the db record sets are modified, is .ajaxStart() the appropriate function for this?
I'm basically looking to have the jquery poll the server every X seconds. Since HTTP is a connectionless protocol, I'm not entirely sure what the proper way would be to stop/start the request using good practices. In pseudo-type code it should work like this: User visits site. a request is made from the client to the server to invoke a function. a function on the server-side queries my mysql database with a simple query. the result set is returned as an array to the javascript object. the javascript object gets injected into the DOM. No parameters are passed in the ajax request to the server. thanks again for any insight folks.