How to set background image in CSS using jQuery?
Answers
Answered by
0
Answer: Use the jQuery CSS() Method
<title>jQuery Setting background-image CSS Property</title>
.box{
width: 500px;
height: 300px;
border: 5px solid #333;
<script>
$(document). ready(function(){
// Set background image of a div on click of the button.
Similar questions