Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js add content to script tag

script.text = "function DrawIt(){canvas1.fillRect(1,2,30,40)}"

// Means
<script>
function DrawIt(){canvas1.fillRect(1,2,30,40)}
</script>
 
PREVIOUS NEXT
Tagged: #js #add #content #script #tag
ADD COMMENT
Topic
Name
8+8 =