[thelist] safe js

Maximillian Schwanekamp anaxamaxan at neptunewebworks.com
Wed Mar 17 11:28:02 CST 2004


><a href="foo.html" onclick="return foo();"
>onkeypress="return foo();">

>--------------- 
>
>function foo() {
>
>if (!document.getElementById) { return true; }
>
>// Blah, blah, blah...
>
>   return false;
>}

Oops.  Mark already said it.  Guess I'm slow on the uptake... 8I

M





More information about the thelist mailing list