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

Popular posts from this blog

php - Auto increment employee ID -

php - isset function not working properly -

python - Evaluating the next line in a For Loop while in the current iteration -