Hi,

var selectors = "a[href$=.pdf], [href$=.rtf], [href$=.ppt], [href
$=.txt], [href$=.mp3], [href$=.xml], [href$=.exe], [href$=.zip], [href
$=.rar], [href$=.dmg], [href$=.tar.Z], [href$=.tar.gz], [href$=.tgz]";

$(selectors).not("[onClick*=pageTracker._trackPageview]").click ( //
Does stuff )


So the above code works fine in Firefox but errors in IE but I've
managed to track the error down to the attribute filter.

If i swap onClick with any other attribute the script won't error.

Does anyone know why this is happening? and if you do know why could
you tell me?


James

Reply via email to