[jQuery] Get background-image url ?

[jQuery] Get background-image url ?


What is the best way to get the background image url in css?
i have found this in crossfade plugin but does not work in opera..
var target = $$.css('backgroundImage').replace(/^url|[\(\)]/g, '');