top | item 45677701 (no title) domenicd | 4 months ago Indeed, the web platform now has setHTML() and setHTMLUnsafe() to replace the innerHTML setter.There's also getHTML() (which has extra capabilities over the innerHTML getter). discuss order hn newest meowface|4 months ago Okay, I've changed my mind and agree this is better, then. I wasn't aware they were adding two new methods. That is the safest way to do it.
meowface|4 months ago Okay, I've changed my mind and agree this is better, then. I wasn't aware they were adding two new methods. That is the safest way to do it.
meowface|4 months ago