I've just found an error in my moo tools library. Well when I say error, IE9 says error and i didn't find it, IE9 did! No one else does. Basically in this code i get the error:
Message: DOM Exception: INVALID_CHARACTER_ERR (5)
Line: 1410
Char: 3
Code: 0
[syntax=javascript]Document.implement({
newElement: function(tag, props){
if (Browser.Engine.trident && props){
['name', 'type', 'checked'].each(function(attribute){
if (!props[attribute]) return;
tag += ' ' + attribute + '="' + props[attribute] + '"';
if (attribute != 'checked') delete props[attribute];
});
tag = '<' + tag + '>';
}
return $.element(this.createElement(tag)).set(props); // error line
},[/syntax]
I know what you're thinking, go over to moo tools and get the latest library. But i did that and the whole image slider broke on all browsers. So for the moment, I'm looking to patch up this error (and hope it's only 1 error).
But i'm clueless as to what could be wrong with this line? Wondered if anyone else may know?
Thanks in advance?
Jonathon