view tests/setInner.js @ 2235:0aae15c2a05a

Refactored a lot and fixed an and/or swap, but still not good on current test.
author Ziv Scully <ziv@mit.edu>
date Mon, 29 Jun 2015 01:33:47 -0700
parents 06791667937e
children
line wrap: on
line source
function setIt(id, html) {
    setInnerHTML(document.getElementById(id), html);
}