Hacker News new | ask | show | jobs
by camehere3saydis 1874 days ago
>My holy grail-- how do I use DOM methods to create a CDATA element to shove my style into? If I could know this then I can jump my Dodge Charger back and forth into XHTML without ever getting caught.

Does this help? https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...

1 comments

Ah, thanks!

In hindsight I probably could have guessed at "document.create" and then just read the autocomplete suggestions in devTools. :)