Home > Article > Web Front-end > Simple implementation of JS Loading function_javascript skills
When we browse the web, we often see the LOADING prompt that appears when the data is loading. In fact, the principle of this function is very simple, that is, a DIV covers the current page, and then Loading is displayed on the covered DIV layer. Now let's implement it.
1. Current page: