|
Hello,
I have a script that loops through all the div tags in a page and reads there innerHTML into a array.
the problem i have is i get this error:
Error: uncaught exception: [Exception... "String contains an invalid character" code: "5" nsresult: "0x80530005 (NS_ERROR_DOM_INVALID_CHARACTER_ERR)"]
and its really annoying me the innerHTML is "test test" (without quotations) it errors when it reaches the space i beleive can you help me to know why and how to fix it?
|