the bind function can only bind one event to its call back at a given time code example
Example 1: jquery bind click
$( "#foo" ).bind( "click", function() {
alert( "User clicked on 'foo.'" );
});
Example 2: bind in javascript
bind() returns a bound function that, when executed later, will have the correct context ("this") for calling the original function.