This is weird, The following line of javascript:
alert("test");
gives the following error in chrome:
Uncaught TypeError: Property ‘alert’ of object [object DOMWindow] is not a function
It also breaks when using a prompt. Oddly it works in firefox. Any ideas?
Do you have a another pop up blocker plug-in installed on Chrome? If you do, disable/remove it and see if the error goes away.