IAdapter
IAdapter

Reputation: 64747

two jquery plugins use the same function name, can somehow i use them both?

I have two jQuery plugins that use the same function name (bind), can i somehow use those two plugins together?

Upvotes: 2

Views: 464

Answers (1)

SLaks
SLaks

Reputation: 887449

The bind function is built in to jQuery and adds an event handler to an element.

Your two plugins are not redefining the bind method; they're adding additional events that you can bind to.

You should be able to use them together just fine.

Upvotes: 3

Related Questions