Mercurial > urweb
view tests/setInner.js @ 1710:540df112ff62
Remove string-valued style attribute, which may allow injection attacks
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 15 Apr 2012 12:40:53 -0400 |
parents | 06791667937e |
children |
line wrap: on
line source
function setIt(id, html) { setInnerHTML(document.getElementById(id), html); }