DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to change background image url in javascript
var element = document.getElementById("demo") element.style.backgroundImage = "url('img_tree.png')";
PREVIOUS
NEXT
Tagged:
#change
#background
#image
#url
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit