-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.

2
  • 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. Commented May 3, 2016 at 8:04
  • 1
    Welcome to StackOverflow, you should read stackoverflow.com/help/how-to-ask , then edit your question to have a better quality (and upvotes) :] see you around Commented May 3, 2016 at 8:05

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

2 Comments

Actually i found this solution stackoverflow.com/questions/5245294/… but i still don't know how to use it with laravel 5
you can use it in b/w <head> tag <script> $("#MyProgressBar").show(); $("#placeholder").load(myurl, function() { $("#MyProgressBar").hide(); }); </script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.