I wanted to add loading spinner to the web application that I was working on. This application is a legacy application and I was looking into a way to add the loading spinner whenever the user performs certain actions such as the following
- Clicks a button which behind the scene performs CRUD operation
- When user request data
As the web application was based of JSP and I was looking for a way to adding it to the webpage and finally came across the following solution
- Create a div
- Add the CSS for the div
- Create a JS function which gets called on button click.
Here is the code
HTML
JS
CSS
Hi to every single one, it’s truly a good for me to visit this web page, I love your content, they are very nice and it includes helpful Information. Check out our website Legacy Application Modernization Services for more Ternary Tech related info! I am truly pleased to read this website posts which carries lots of helpful data, thanks for providing these kinds of statistics.
ReplyDeleteYour welcome
DeleteSitus Judi Slot Online Terbaik dan Judi Online Terpercaya 2021
ReplyDeletejudi online terpercaya how to buy air jordan 18 retro racer blue 2021/2020. Dengan Pelayanan air jordan 18 retro cheap Customer Service Judi Online24jam dan Game Slot air jordan 18 stockx to me Gacor show to get air jordan 18 retro terbaru dan find air jordan 18 retro toro mens sneakers Terbaru di Indonesia.
NICE POST AND THANKS FOR SHARING!!
ReplyDeleteIELTS Courses in Gurgaon
IELTS Courses in Hyderabad
IELTS Courses in Trivandrum