Home > Uncaught Error > Uncaught Error No_modification_allowed_err Domexception 7

Uncaught Error No_modification_allowed_err Domexception 7

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed INVALID_MODIFICATION_ERR code 13 Attempted to modify a node's type; for example, setting the cssText property of a CSSRule with a value that does not match the original rule's type (eg. Browse other questions tagged jquery unobtrusive-javascript knockout.js data-mapping or ask your own question. But Chrome may be pissy when you don't set up the DOM Element variable explicitly as HTML. –Anthony Mar 26 '10 at 7:50 I used your suggestion 2 and Check This Out

Use innerText / textContent. Alternately I would try setting styles on individual elements: document.body.style.color = "green"; Or defining all styles ahead of time in the CSS using classes and assigning class names to elements: