Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4255 closed bug (invalid)

append(' ') DOM error

Reported by: pckilla Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


$(elem).append(' ') throws NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 with Safari 4.

Attachments (1)

append.zip (2.3 KB) - added by pckilla 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by dmethvin

Can you attach a full test case?

Changed 14 years ago by pckilla

Attachment: append.zip added

comment:2 Changed 14 years ago by pckilla

I forgot to mention that page must be served as application/xhtml+xml to get this error.

comment:3 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed

Ah. You should be using   with xhtml+xml, the   is an HTML4 mnemonic. If you really want to serve the document as XHTML then you need to be very careful about serving valid markup and using it in jQuery as well.


Note: See TracTickets for help on using tickets.