Sunday, May 10, 2009

Not enough storage is available to complete this operation

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:

ORM Framework for Kotlin

In Kotlin, ORM (Object-Relational Mapping) libraries provide a convenient way to interact with databases using object-oriented programming p...