Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q178 How can I use the void method without causing problems in browsers that do not support it?

You are here: irt.org | FAQ | JavaScript | Misc | Q178 [ previous next ]

IIRC Internet Explorer 3 does not have an inbuilt void() function, so use your own:

<SCRIPT LANGUAGE="JavaScript"><!--
function myvoid() {}
//--></SCRIPT>

<A HREF="javascript:myvoid()">null link</a>

©2018 Martin Webb