Why does the following JavaScript fail, when you click on the link? And is there any way to fix it?
<a onclick="alert('Do you want to delete < > " '?');">Link</a>
I am aware that the escaped characters would be illegal if they were printed literally, but I can't see why it should fail when then are escaped. Leaving out the characters is not an option, as it is user defined.