bind () method

I. Definition and Usage

bind () method is added to one or more elements selected from the event handler, and a predetermined function to run when the event occurs.

grammar:

$(selector).bind(event,data,function)

举例:

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/SallyShan/p/11489147.html