![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: [Beginner] Associating event handlers with elements
From: Danny <dann90038@bluebottle.com>
Date: Sun Aug 07 2005 - 21:31:24 CEST
There are a couple of ways of binding event listeners:
OBJECT.EVENTTOLISTEN=HANDLERWITHNOARGUMENTS;
Now, tables have a cells[] collection you can access and a rows[]
a 3rd technique is using a listener on the parent element and checked the
document.onclick=something;
function something(ev) {
}
Using the 3rd tecnique, you set the event listening ONCE and check the
Danny
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/Received on Tue Oct 18 03:06:22 2005 |