Suppose I have a div
<div id="div_a" style="background-image:url('xxx')"></div>
Then I can get the url info by using
document.getElementById("div_a").style.backgroundImage
to get its url info.
However if the style is defined in CSS the code above would return blank
Anything wrong with it?