Opened 16 years ago

Closed 15 years ago

#829 closed defect (wontfix)

IE error adding after advice to a node's appendChild() function

Reported by: [email protected] Owned by: alex
Priority: high Milestone: 0.9
Component: Events Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


I'm trying to add after advice to a node's appendChild() function. It works in Firefox, but IE gives me an error.

Test page:

The code:

<div id="foo"></div>
dojo.event.connect(dojo.byId('foo'), 'appendChild', dojo.lang.hitch(this, function() { alert('success'); }));

The error in IE:

Object doesn't support this property or method

Change History (2)

comment:1 Changed 16 years ago by dylan

Component: GeneralEvents
Milestone: 0.5
Owner: changed from anonymous to alex

comment:2 Changed 15 years ago by alex

Resolution: wontfix
Status: newclosed

this is an IE bug related to DOM nodes being COM objects and therefore not obeying proper JS hygene. Sadly, marking "wontfix"

Note: See TracTickets for help on using tickets.