How to make a progress bar after pressing the submit form and before leaving this page?

how do you make a progress?
the way I submit a list is through jquery ajax
I don"t know what kind of functions it can do?
rather than a fake progress, it is a real progress.

when I press the submit form list button, how far is it up to before I open this interview? The progress that is not fake

Please give me your thoughts, thank you!

Is there such a thing as

? He can only have a few state values of ajax at most. The schedule is impossible. The progress of the status is about the same

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bb5b-2bac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bb5b-2bac9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?