Ticket #4684 (closed bug: patchwelcome)
Live events don't work in Opera when using XHTML and html()
|Reported by:||alex_sh||Owned by:||brandon|
|Keywords:||live event opera xhtml||Cc:||miketaylr@…|
Live events don't seem to work in Opera (tested with 9.64, Linux) when the new content is loaded via innerHTML (or jquery's html()), AND the document is XHTML (served via application/xml+xhtml, or opened locally with .xhtml extension).
Everything seems to work in Firefox 3.
I'm attaching two test cases (one xhtml, one html). A click event handler is attached via live() on the second button, while the first button replaces the second button with the dynamically created one. The click event is still executed in FF (both html and xhtml) and Opera with html version, but not in Opera with xhtml version.
- Cc miketaylr@… added
- Priority changed from major to low
- Status changed from new to open
- Milestone changed from 1.4 to 1.5