I have a div in an html file defined as follows:
<div id="rangeTabAll"></div>
In an externally defined style sheet I define the following style.
#rangeTabAll{
top:45px;
left:124px;
width:186px;
height:114px;
display:none;
background:#ffffff url(../images/rangetab0.jpg) no-repeat;
}
How do i read/write the background value using jQuery? The
$('#rangeTabAll').css('background')
method wont work because its not an inline style. And
$('#rangeTabAll').attr('class')
is undefined.
I can do this with javascript quite simply but i wonder how its done via jQuery.