$$.css('background-image').replace(/^url|[\(\)]/g, ''); should do the trick.
On Apr 24, 6:34 am, Mech7 <chris.de....@gmail.com> wrote: > 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, '');