view tests/setInner.js @ 1703:6f2f74cc4ead

Change ID generation scheme to conform to HTML standards (thanks to Edward Yang for the catch)
author Adam Chlipala <adam@chlipala.net>
date Fri, 16 Mar 2012 08:42:51 -0400
parents 06791667937e
children
line wrap: on
line source
function setIt(id, html) {
    setInnerHTML(document.getElementById(id), html);
}