Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js style background image by id

document.getElementById('Demo').style.backgroundImage = "url('Test.png')";
 
PREVIOUS NEXT
Tagged: #js #style #background #image #id
ADD COMMENT
Topic
Name
3+8 =