How to display a loading image gif or message while PHP is executing a batch file?

前端 未结 3 2078
无人及你
无人及你 2021-02-01 11:29

I\'ve been searching on the net for the answer, but couldn\'t find.

How could I show some loading messsage or gif while the long executing script is running. I tested a

3条回答
  •  悲&欢浪女
    2021-02-01 12:02

    I've tried the following code, which given me exactly what I want. the page is displaying a "loading.gif" while loading the php script, and hide it when the script is finished. This is using JQuery.


    //$tr_arname=$_REQUEST['arname'] -> is the variable i've got from previous PHP page.
    
    
    
    
    
    

提交回复
热议问题