Transpiled version (3598L) is out of date.
1 | sS js_appendToDiv(S divID, S contents) {
|
2 | ret replaceDollarVars_js([[ |
3 | {
|
4 | var div = document.getElementById($divID); |
5 | if (div) |
6 | div.insertAdjacentHTML('beforeend', $contents);
|
7 | } |
8 | ]], +divID, +contents); |
9 | } |
Began life as a copy of #1032322
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032330 |
| Snippet name: | js_appendToDiv - takes div ID |
| Eternal ID of this version: | #1032330/2 |
| Text MD5: | 58edd69e44c37ca52e3ad2b77e51a4b0 |
| Author: | stefan |
| Category: | javax / javascript |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-27 08:44:51 |
| Source code size: | 238 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 389 / 512 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |