Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

AJAX error


Reply

900 Views

Avatar
Tonyair

12 July 2010 at 12:56pm (Last edited: 12 July 2010 1:01pm), Community Member, 81 Posts

Hello, I was looking all over internet in two languages why one simple ajax request works under IE, but isn't under webkit browsers (Chrome and Safari).
Uncaught Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 (Google Chromium JS Console only for XHTML Strict)

Don't use   in an AJAX response.

Like that:
<div class="status"><span class="type">$Type</span>&nbsp;$Status</div>
Rem: it's w3c valid