Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery add style background-image

$('myObject').css('background-image', 'url(' + imageUrl + ')');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #add #style
ADD COMMENT
Topic
Name
7+5 =