Search
 
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
Name
9+1 =