C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
4
Reply
What is jQuery connect?
Nitin Choudhary
10y
9.1k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
when we use connect()function in jquey then why we instantiate both functions before use it in connect()function or why connect use functions object? is it possible to instantiate a function as a object i know jquery use all data type as a object
Kml Surani
10y
0
This is a jQuery plugin that is used to connect / bind a function to another function. It is more of assigning a handler for another function. Connect is used to execute a function whenever a function from another object or plugin is executed. We can connect to an event of a DOM element too using this function. In the sense same connect function can be used for both DOM elements and for the functions.$.connect(refobj,refFuncName, connObj,connFunc); This means that, when the reference function is executed, the connected function gets executed automatically after it. To understand more please analyze the Here we connected "fun2" of object b to "fun1" of object a. When we call b.fun2, a.fun1 will also execute automatically.This is very handy to execute some function when some other function is executed from the plug-in . In order to play with it follow these steps.Include this file in your html file. Take help of $.connect function as illustrated to connect a function to another function. Tags: BRH, .NET, #DOTNET, #ASP.NET, ASP.NET, jQuery, jquery interview questions., jquery faq, jquery interview questions, jqueryfaq, jQueryinterview questions, how to use jquery connect, jquery connect,
Mohan G
10y
0
This is a jQuery plugin that is used to connect bind a function to another function
Vithal Wadje
10y
0
A ‘ jQuery connect' is a plugin used to connect or bind a function with another function. Connect is used to execute function from any other function or plugin is executed.
Nitin Choudhary
10y
0
In what scenarios jQuery can be used?
How to use connect?
Message