Libraryless. Click here for Pure Java version (3598L/20K).
sS js_setDivContents(S divID, S contents) { ret replaceDollarVars_js([[ { var div = document.getElementById($divID); if (div) div.innerHTML = $contents; } ]], +divID, +contents); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032322 | 
| Snippet name: | js_setDivContents - takes div ID | 
| Eternal ID of this version: | #1032322/3 | 
| Text MD5: | ae3843af8a33a0c3082ca1848bfcd348 | 
| Transpilation MD5: | a342f4cbf1ff74ad863dab2553c2b697 | 
| 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 07:24:49 | 
| Source code size: | 220 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 384 / 504 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |