JQuery binds the element to a click event that executes multiple times


Original binding method:


$("#sdfsd").on("mouseout",function(e){ ***** });

This method simply continues to add new methods to the original click method;

The solution changes the binding method to:


$("#sdfsd").unbind("click").click(function(e){ ***** });

Unbind the click method bound to the element before binding the new click method