summaryrefslogtreecommitdiff
path: root/tests/setInner.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/setInner.js')
-rw-r--r--tests/setInner.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/setInner.js b/tests/setInner.js
new file mode 100644
index 00000000..4f71ac26
--- /dev/null
+++ b/tests/setInner.js
@@ -0,0 +1,3 @@
+function setIt(id, html) {
+ setInnerHTML(document.getElementById(id), html);
+}