Error on using alert in Javascript (Property 'alert' of object is not a function)
I had that error message due to an alert()
blocked by my pop-up-blocker.
Somewhere in your code you overrode alert
. Check for var alert = ...
or some other kind of declaration like that. Also check for window.alert
declarations.