For example:
<div class="myel" style="border: dashed 1px #cc9900;background-color:#cc9900">Test</div>
When i'm running this script:
alert( $("div.myel").css("background") );
the result on firefox and chrome is :
rgb(204,153,0) none repate scroll 0% 0%
And for this script
alert( $("div.myel").css("background-color") );
the result is :
rgb(204,153,0)
But when running this script:
alert( $("div.myel").css("border") );
nothing appear on firefox but the result in chrome is:
dashed 1px rgb(204,153,0)
The same happens with
alert($("div.myel").css("border-color"));
and alert($("div.myel").css("borderColor"));