I have the following code that I use on links for delete scripts and it doesn't seem to be working in IE, when you hit cancel it still follows though with the link. Firefox is fine. Is there something I need to change to allow it to work in all browsers?
onclick="return confirm('Are you sure you want to delete this?')"
return confirm('Do you really wanna delete this?');