What is the use of jQuery disconnect?

 Posted by Niladri.Biswas on 7/19/2012 | Category: jQuery Interview questions | Views: 2497 | Points: 40
Answer:

It is used to disconnect a function to another function.It is the opposite of $.connect.

e.g.

$.disconnect(firstFunc,'Func1',secondFunc,Func2);


will disconnect Func1 from Func2 where Func1 is the reference function and Func2 is connected one.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response