Brief analysis of the reasons for repeated submission of requests by jquery

  • 2020-03-30 03:03:16
  • OfStack

Generally speaking, there are two reasons:

1. The first is unbound, such as $("#test").unbind("click"); $(" # test "). Click (function () {... });

2. The reason is that the same js file is referenced many times on different pages, which may lead to repeated submission requests.

Related articles: