Posted On: Jan 14, 2023
JQuery Connect is a plugin that is used to bind or connect a function to another function. It executes a function when a function from another object is executed. It is similar to assigning a handler for another function. Connect also lets you connect a function to a DOM object. With connect, you bind more than one function.
Example
$.connect(obj1, 'fun1', onj1, fun2);
Here we are binding the fun2 function of object 2 to the fun1 function of object 1. So, when fun2 is executed, fun1 will also be executed.
Never Miss an Articles from us.
jQuery is a lightweight JavaScript library which gives a quick and simple method for HTML DOM traversing and manipulati..
There are many advantages of JQuery. Some of them are :It is more like a JavaScript enhancement so there is no overhea..
There are 3 types of selectors in JqueryCSS Selector XPath Selector Custom Selector..