DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
change background image with jquery
jQuery
(
document
)
.
ready
(
function
(
$
)
{
$
(
'.bg-image'
)
.
css
(
"background-image"
,
"url('myurl.jpg')"
)
;
}
)
;
Source by www.tutorialspoint.com #
PREVIOUS
NEXT
Tagged:
#change
#background
#image
#jquery
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit