JQuery-What is Connect?



Share on Google+Share on Google+

JQuery-What is Connect?
1 Answer(s)      6 years and 9 months ago
Posted in : JavaScript Questions

What is Connect in JQuery and how can i use it?

View Answers

December 4, 2010 at 6:32 PM

JQuery Connect is a plug-in which is used to connect one function to another. This situation happens when you are using any JavaScript plug-ins and you want to execute some function when ever some function is executed from the plug-in. We can solve this problem using JQuery Connect function.

You can use it your code as follows :

1.download jquery.connect.js file

2.include this file in your html file.

3.And use $.connect function to connect a function to another function.