Re:Show HN: TopLevel – A New Way to JavaScript Your HTML
by kristopolous on Thursday June 05, 2014 @03:27AM
(#7850659)
not if the document has an existing <textarea> (and thus </textarea>). <plaintext> is rather final ... see here for a demo I just threw together: http://getpostdelete.com/plaintext.html
The HTML interpreter packs up its bags and goes home - you can't "close" a <plaintext> tag if it's existing in a plain HTML page.
However, you can still manipulate it through the DOM.
The HTML interpreter packs up its bags and goes home - you can't "close" a <plaintext> tag if it's existing in a plain HTML page.
However, you can still manipulate it through the DOM.