Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Misc | Q178 [ previous next ]

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

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>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.