Side navigation
#4255 closed bug (invalid)
Opened February 26, 2009 10:57AM UTC
Closed March 02, 2009 12:00AM UTC
Last modified March 14, 2012 03:14PM UTC
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 (3)
Changed February 27, 2009 12:38AM UTC by comment:1
Changed February 27, 2009 08:41AM UTC by comment:2
I forgot to mention that page must be served as application/xhtml+xml to get this error.
Changed March 02, 2009 12:00AM UTC by comment:3
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.
Can you attach a full test case?