Post
For when you *really* need to inject script dynamically via the parser you can use setHTMLUnsafe, which also takes a sanitizer in supporting browsers. So you essentially never need to use innerHTML once this is baseline.
0 reposts1 like
No replies yet.