I need to get the length of an inline style background-image source, eg:
<div id="imageholder" style="background-image: url(image.jpg)">
Length would be 9
I have tried:
$('#imageholder').css('background-image').length;
But I cant seem to get it working.
Would anyone know the proper way of getting this length?