BUG: error "INVALID_CHARACTER_ERR" in IE9 when the key of "setAttribute" starts with a number

7 views
Skip to first unread message

Сергей Шмаков

unread,
Dec 24, 2014, 8:13:01 AM12/24/14
to ampl...@googlegroups.com
If the key starts with a number, in IE9 there is an error "INVALID_CHARACTER_ERR".

Because the name of the attribute in IE9 can not start with a digit.

The error occurs in the line: "div.setAttribute (key, parsed);"

We decided this bug by adding to the start of the key string-character.
Reply all
Reply to author
Forward
0 new messages