#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)
Change History (4)
comment:1 Changed 14 years ago by
Changed 14 years ago by
Attachment: | append.zip added |
---|
comment:2 Changed 14 years ago by
I forgot to mention that page must be served as application/xhtml+xml to get this error.
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
Can you attach a full test case?