开发者

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

开发者 https://www.devze.com 2022-12-16 18:04 出处:网络
I have two jQuery plugin开发者_开发问答s that use the same function name (bind), can i somehow use those two plugins together?The bind function is built in to jQuery and adds an event handler to an el

I have two jQuery plugin开发者_开发问答s that use the same function name (bind), can i somehow use those two plugins together?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号