![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: .addEventListener() not finding the right object method
From: Michael Winter <m.winter@blueyonder.co.uk>
Date: Fri Aug 26 2005 - 23:18:09 CEST
On 26/08/2005 19:58, Liming wrote:
[snip]
> You have the var instance = this; defined in the class (private
[snip]
You could do that, though it's not the only solution. An alternative is
function MyObject() {
var o = new MyObject();
myElement.object = o;
Hope that helps,
-- Michael Winter Prefix subject with [News] before replying by e-mail.Received on Tue Oct 18 03:13:17 2005 |