[thelist] site critique please

Joshua Olson joshua at alphashop.net
Tue Sep 25 09:34:32 CDT 2001


: you should be able to use:
:
: onclick="gwhMain.location.href = this; return false;
:
: in all the links, rather than specifying the url twice per link.

Except that this case was in context of placing the onclick in the TD, not
the anchor.  Thusly, "this" would not contain an href.

-joshua

: I've knocked up a quick example that displays the value of 'this' for a
: few links using alert(). Seems to work:
:
: http://members.evolt.org/simonc/lab/this.html
:
: HTH,
:
: Simon





More information about the thelist mailing list