I have an iframe and I would like to set up the color white if the background is black and vice-versa. I tried to get the background color with:
$("#id").css('background')
and
$("#id").css('background-color')
and
$("#id").css('backgroundColor')
but they all return transparent.
Please help me.
#id's background is transparent?