Open webketje opened 11 years ago
In this statement, under the Events section, .bind() should be replaced with .on():
//Alternatively, you can use the bind() method $('#foo').bind('click', fn);
For reference: http://api.jquery.com/bind/
As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document.
In this statement, under the Events section, .bind() should be replaced with .on():
For reference: http://api.jquery.com/bind/