Check If Using Jquery Or Prototype
Check if you are using jQuery or Prototype#
if (window.$$ === window.jQuery)
console.log('jQuery');
else
if ( typeof Prototype !== "undefined" ) {
console.log('Prototype');
}
if (window.$$ === window.jQuery)
console.log('jQuery');
else
if ( typeof Prototype !== "undefined" ) {
console.log('Prototype');
}