Skip to main content

Bug Tracker

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)
  • append.zip (2.3 KB) - added by pckilla February 27, 2009 08:39AM UTC.
Change History (3)

Changed February 27, 2009 12:38AM UTC by dmethvin comment:1

Can you attach a full test case?

Changed February 27, 2009 08:41AM UTC by pckilla 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 dmethvin comment:3

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