Robson Silveira
Robson Silveira

Reputation: 125

How to use jquery noConflict()?

I got 2 jquery plugins both need to be called on $(document).ready, but i figured out that when i call both on ready, the second doesn't work.

I've tried to use jquery noConflict() but i didn't worked.

someone could explain it for me?

thanks.

Upvotes: 1

Views: 158

Answers (1)

Ry-
Ry-

Reputation: 224952

jQuery.noConflict is for conflicting JavaScript libraries (both using $ as a name, for example) - not conflicting plugins. All it does is change $ back to whatever it was before jQuery was added.

Upvotes: 2

Related Questions