|
|
Q1074 Weird things happen using onClick with a link
irt.org | Knowledge Base | JavaScript | Bugs | Q1074 [ previous next ] Q1074 Weird things happen using onClick with a linkSymptom: Clicking on a link (<A HREF="..." onClick="myFunction()"> does not do anything or goes somewhere. Affects: Many browsers - especially Internet Explorer Workaround: <A HREF="javascript:myVoid()" onClick="somejavascript" where myVoid looks like this:
because
Although severely cool, <A HREF="javascript:A_Function_That_Returns_Html()" - can trigger the Netscape 4.04 bug. Feedback on 'Q1074 Weird things happen using onClick with a link' |
-- div -->
|