Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 7 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:

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by dmethvin

Can you attach a full test case?

Changed 10 years ago by pckilla

Attachment: append.zip added

comment:2 Changed 10 years ago by pckilla

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

comment:3 Changed 10 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.

http://bytes.com/groups/html/167507-firefox-1-0-7-chokes

Note: See TracTickets for help on using tickets.