How to detect what Library is behind the $ function?

Posted by clops on Stack Overflow See other posts from Stack Overflow or by clops
Published on 2010-05-02T20:19:43Z Indexed on 2010/05/02 20:28 UTC
Read the original article Hit count: 160

Filed under:
|
|

I am developing some JavaScript that should work with either Prototype.js or JQuery, thus I need some way to identify what is the primary library in use. How can I do that?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype