jquery use of bind vs on click
From the documentation of bind and click : bind : As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document. The source makes it clear there’s no reason to use bind, as this function only calls the more flexible on function without even being shorter : bind: … Read more