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

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -