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


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.