On page ready I want to run a function that will get the css background-image setting and also the hover background-image setting which I wish to then utilize in another fashion.
The only method I have seen to accomplish this requires someone to actually mouse over the element before you can get the value.
Anyone have a way?
This is how to get a css non-hover value:
$(this).css('background-color');