Questions tagged [domexception]

a DOM object for exceptions commonly thrown from the document object; example, calling createElement with an invalid tag name throws a DOMException

a DOM object for exceptions commonly thrown from the document object; example, calling createElement with an invalid tag name throws a DOMException

115 questions
194
votes
15 answers

What exactly can cause an "HIERARCHY_REQUEST_ERR: DOM Exception 3"-Error?

How exactly does it relate to jQuery? I know the library uses native javascript functions internally, but what exactly is it trying to do whenever such a problem appears?
Julian Weimer
  • 2,605
  • 4
  • 22
  • 23
122
votes
9 answers

Uncaught Error: SECURITY_ERR: DOM Exception 18 when I try to set a cookie

I get the following error in Chrome's developer tools window when I try to set a cookie using this jQuery plugin: Uncaught Error: SECURITY_ERR: DOM Exception 18 What does this error mean and how can I fix it? I get the same error when I use this…
Pieter
  • 31,619
  • 76
  • 167
  • 242
42
votes
5 answers

SYNTAX_ERR: DOM Exception 12 - Hmmm

I have been working on a small slideshow / public display for a client that uses HTML5 Rock's Slideshow code. I have run into a DOM Exception 12 - a syntax error that is supposedly related to CSS selectors - while monkeying around with it... but I…
Isaac Lewis
  • 1,189
  • 2
  • 14
  • 26
29
votes
6 answers

Invalid Character DOM Exception in IE9

The following piece of JS which used to work in IE8 is failing now in IE9. document.createElement('