- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Sun, 23 Jul 2006 12:41:55 -0500
Consider the following testcase: <!DOCTYPE html> <a href="http://www.example.com" onclick="return 0">Click me</a> Should clicking the link load www.example.com? That is, does the return value of the onclick handler cancel the event if it's == to false, or only if it's === to false? In shipping Geckos it only cancels if the return value === false; I suspect other browsers behave similarly but it could use testing. -Boris
Received on Sunday, 23 July 2006 10:41:55 UTC