I\'ve found plenty of information on how to change the background image of a div using JavaScript, but I am trying to use JavaScript to determine which background image is b
Get the background property:
alert(document.getElementById("widgetField").style.background);
Displays : url(includes/images/datepicker_open.png)
Edit: Andy E's answer should be close to what you need. One difference is that for IE you need
currentStyle.backgroundImage
instead of
currentStyle.background