diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-03-14 10:10:56 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-03-14 10:10:56 -0400 |
commit | e90f7afc607a0af326c87ebb184b7eacfee8b92b (patch) | |
tree | 30712b447483786217c20367a7f29491305fe2db /tests/setInner.js | |
parent | 3b4137c893c21d68a1dbecdcb3acd865dd32057d (diff) |
New JavaScript FFI function: setInnerHTML
Diffstat (limited to 'tests/setInner.js')
-rw-r--r-- | tests/setInner.js | 3 |
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); +} |