Is there a way to add error checking to a stylesheet background image loader in Javascript?
<p>I'm using a background image in a div and want to have the div behave differently depending on whether the image loads or not.</p>

<p>So, rather than doing img.onerror | img.onload 
I want to do style.backgroundImage.onerror or something along those lines</p>

<p>this isn't possible, is it?</p>
