HREF/onClick Test

At last week's class, M.J. Groen wondered what would happen to a hypertext link (i.e., a familiar <A HREF> construction) if it occurred within a document object for which an onClick handler had been defined. Would the onClick handler nullify or otherwise interfere with the hypertext link?

See for yourself. Click on any word in the present paragraph and you will trigger an onClick handler that generates an alert box. To test link function, click on the link cue.