Nesting an onclick within an onclick

When trying to place an onclick function on a link in a table cell, which is part of a row which also has an onclick event, leads to both onclick functions being called.

After looking into how to go around this issue I used

This worked perfectly, stopping the parent onclick from firing, but when it came to testing in dreaded IE I found it wasn’t supported.

So I tried changing to:

This works just as well, not only in Firefox but IE too.

Continue reading “Nesting an onclick within an onclick”