drooh - 5:13 pm on Aug 30, 2011 (gmt 0)
What I mean is that it is not consistent. Im doing a test in which i click the submit button and it posts the info using jQuery post, then it calls a reload of the display.php into a div. In testing it sometimes works and sometimes doesnt, cant find any consistency. When I test it I click it over and over pretty fast.
I tried moving the reload call to the post callback but that seemed to work even worse.
I didnt think of the cache idea, is there a way to prevent that or know if its getting cached?
Also, im just looking for the best method to accomplish this. It doesnt even have to be with jQuery.
Basically here is what Im trying to do.
Have a list of info in a div. This info is stored in a mysql database.
There is a form and when you submit it, it enters info into the db. Then it displays that info in a div. I was trying to do this all with ajax.
The main problem seems to be with the re-loading of the div. The form always is submitted but the info doesn't always re-load. I think I may be going about that part wrong.