In IE createStyleSheet throws javascript error Not "enough storage is available to complete this operation".
document.createStyleSheet(cssfile);
To handle it swallow javascript error by catching exception.
try {
document.createStyleSheet(cssfile)
} catch(e) {}
No comments:
Post a Comment