J
Jake Barnes
On this page:
http://www.bluecasts.com/ajax/Tuesday_02_14_2006_11_18_31_PM.htm
click in any of the main column boxes and a box full of links
(controls) will appear. Click "Add Paragraph." The browser (IE and
FireFox) follow the link, even though the source code says this:
<A onclick="setText(); return false;" href="index.htm">Add
paragraph</A>
why would the "return false" not cancel the default behavior of the
click? Right now the browser is following the link, but I'd prefer if
it didn't.
http://www.bluecasts.com/ajax/Tuesday_02_14_2006_11_18_31_PM.htm
click in any of the main column boxes and a box full of links
(controls) will appear. Click "Add Paragraph." The browser (IE and
FireFox) follow the link, even though the source code says this:
<A onclick="setText(); return false;" href="index.htm">Add
paragraph</A>
why would the "return false" not cancel the default behavior of the
click? Right now the browser is following the link, but I'd prefer if
it didn't.