if(document.getElementById(c).currentStyle.backgroundImage.indexOf('../bin/sort.jpg')!=-1) - for IE
if(document.defaultView.getComputedStyle(document.getElementById(c), '').getPropertyValue("background-image").indexOf('../bin/sort.jpg')!=-1) - for Mozilla
@gert_cuykensauthorFeb 20.2006 βΒ #ok i found a DOMI now how do i see whats the right DOM path of a element ? I can only see the atributes and property's of a DOM node ?
@MstrBobFeb 20.2006 βΒ #The left pane of DOM Inspector shows you the DOM tree. If you press the '+' button next to a node, it shows you all of the children of that node.
You don't, I believe, need the url() bit for background image. so: