-2

I'm using laravel to develop my web application ,and i have a migration function i want to add a loading bar while the function is running then the loading bar is hidden when the function ends how can i do this.

  • You should be using jquery / javascript to do that. Use `.show()` of jquery before sending request to the server and then `hide()` after the server finished process. – Arsh Singh May 03 '16 at 08:04
  • 1
    Welcome to StackOverflow, you should read http://stackoverflow.com/help/how-to-ask , then edit your question to have a better quality (and upvotes) :] see you around – goto May 03 '16 at 08:05

1 Answers1

0

you can get it from here

http://w3shaman.com/article/php-progress-bar-script

:) or try some other sites http://www.htmlgoodies.com/beyond/php/show-progress-report-for-long-running-php-scripts.html good lucky have fun

  • Actually i found this solution http://stackoverflow.com/questions/5245294/loading-bar-while-script-runs but i still don't know how to use it with laravel 5 – Sejda Hajji May 03 '16 at 08:46
  • you can use it in b/w tag – Hassan Ali Hashmi May 03 '16 at 10:20