[thelist] safe js

Mark Kennedy mark at eurogamer.net
Wed Mar 17 11:20:23 CST 2004


oops, make that

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

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


/me blushes.

Mark




More information about the thelist mailing list