我已经放在一个onClick goconfirm上的超链接按照以下:的JavaScript的onClick确认没有发射
<a href="http://google.com" onclick="goConfirm('This link is to an external site. You are now
leaving mysite.,'href=http://google.com');' target="_blank">Online Account Opening</a>
如何确保确认JavaScript消息触发发送用户到新的站点之前?
非常感谢您的帮助和指导。
您可以显示'goConfirm'的代码? –
你在第一个参数结尾缺少''''。另外,在属性值的末尾有一个''',而不是''',用于启动该值。 – Sampson
请检查控制台! – Ryan