[Javascript] Referring to a link

Peter Brunone peter at brunone.com
Wed Apr 25 15:59:15 CDT 2001


    I've discovered that by giving a link an ID, I can refer to that link
simply by the value of the ID, for example,

<A HREF="#" ID="booga">Booga</A>

and later on...

booga.focus();

    This, as might be expected, works just fine in IE5.5, but how about
Netscape?  I don't have an IE4 machine available right now, so advice on
that would be welcome too...

Cheers,

Peter





More information about the Javascript mailing list