javascript - Use form to jump to the page, but it is very slow. How to add a Loading?
迷茫
迷茫 2017-06-26 10:55:48
0
2
732

Now the front and back ends of the project are not separated. The page has a form to jump, but the query is very slow. Now I have temporarily added a loading effect, which is displayed when the button is clicked, but the loading will not disappear when clicking return in Apple WeChat. I It is estimated that js will not be executed when returning. How to make this loading disappear before the page jumps? The page is as follows:

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all (2)
仅有的幸福

It can be made into ajax, which is easier to handle. ps: You need to pay attention to the problem of slow query. During development, query is relatively slow, but when it is put into use, it will be okay

    phpcn_u1582

    Just use layer

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!