Bug Tracker

Opened 14 years ago

Closed 12 years ago

#4287 closed bug (invalid)

Use .innerHTML in .empty() to wipe out nodes

Reported by: john Owned by:
Priority: major Milestone: 1.4
Component: manipulation Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


This will be faster than removing each element individually.

Change History (2)

comment:1 Changed 14 years ago by brandon

We just need to make sure we aren't leaking any memory as a result of this.

comment:2 Changed 12 years ago by dmethvin

Component: coremanipulation
Resolution: invalid
Status: newclosed

Can't use .innerHTML since we need to clean out the data attached to elements. Otherwise IE will bloat up like a Macy's Thanksgiving Day float.

Note: See TracTickets for help on using tickets.