![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveQuestion involving document.createElement and this
From: <bayfaulkscatering@gmail.com>
Date: Mon May 01 2006 - 04:33:20 CEST
I'm definitely not new to JS, but for the life of me, I can't figure
function foo() {
span = document.createElement('span');
Instead of seeing like [object HTMLElement] or whatever, I simply see
a.onclick = function() { alert(this); }
I was thinking maybe it was just giving me the URL was because the a
|