jQuery bind()

The jQuery bind() event attaches one or more event handlers of the selected elements and executes a specified function when the event occurs. Syntax: $(selector).bind(event,data,function,map) Event: It is a compulsory parameter as it specifies the events to attach. Data: It is an optional parameter that is used to specify any additional data. Function: It is … Read more