To avoid JS clashes or the script falling over do this:
if(typeof yourFunctionName == 'function') {
// Safe to do something (if jquery search for $.yourFunctionName)
}
To avoid JS clashes or the script falling over do this:
if(typeof yourFunctionName == 'function') {
// Safe to do something (if jquery search for $.yourFunctionName)
}