Is there any way I can run jQuery under SVG instead of HTML?
I know about jQuery svg plugin but this is not what I want.
As for now the jQuery engine contains some statements like this:
div = document.createElement("div");
div.style.display = "none";
It fails with exception during jQuery initialization under SVG because SVG document is unable to create div
element. And there are some other HTML-specific places in jQuery which fail in unpredictable places under SVG.
Is there any way to resolve this problem?