How to make a loading bar on single table when they make a request data?


i have 5 table and they always fetch data from server for several time, success times for every table is different, i want to put some loading bar on every table when they make a request. is there any way to do that with javascript ? the one that make confuse..

قالب وردپرس