Hello,
I'm having an "unspecified error" when I refresh a page at the line where I add a style sheet to my document, after having removed all the styles and class attributes of the elements of the page, when I use :
document.createStyleSheet("user.css",0);
The first time this is executed ok, the second time it gives me an error with the very helpfull "unspecified error" error message.
Has anyone seen such problems using this method?
Thanks in advance.
I'm having an "unspecified error" when I refresh a page at the line where I add a style sheet to my document, after having removed all the styles and class attributes of the elements of the page, when I use :
document.createStyleSheet("user.css",0);
The first time this is executed ok, the second time it gives me an error with the very helpfull "unspecified error" error message.
Has anyone seen such problems using this method?
Thanks in advance.