In page I use jQuery .load()
to apply database changes without reloading, have 2 steps:
- load change.php?id=1&change=delete
- reload list of items
Its simply illustration, I have more options (change rank, change text...), but all is implemented identically.
Problem: someone script doesn't show list, if I have in list.php console.log('text'), text shows in console, but list of items are not in div.
It happens more when I have 1+ requests per second.
It is possible to reach absolute reliability?
Thank you, Rob.
PS. I use simply onclick=func() in button and the
function func(){
$('#div1').load('change.php?id=1&change=delete');
$('#div2').load('list.php');
}