how to assign the background image using javaScript? -
i want change background image using javascript. , taking below approach:
document.getelementbyid("country").style.backgroundimage="url('images/dropdown.jpg')";
but not working.
could please me in error?
Comments
Post a Comment