4 ms·
>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
by camehere3saydis 5y 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/createCDATASection https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...
- jancsika 5y agoAh, thanks! In hindsight I probably could have guessed at "document.create" and then just read the autocomplete suggestions in devTools. :)