I have this script:
function slideSwitch() {
var ae = jQuery(\'#featured-right a.active\');
if ( ae.length == 0 ) {
ae = jQuery(\'#featured-r
I had this same problem. It said there was an error in line 1 row 1 of the main file. I use a ton of AJAX in the page I was using.
It all boiled down to the fact that I had onclick="#" on an A tag. Once I removed that, the error went away.
I think when jQuery loads the html via an AJAX call, it takes the onclick tags and processes the javascript it finds inside.