Using $("#id").css("background-color") to retrieve an element's background color (or most other CSS attributes) works just fine, but
$("#id").css("border-color") returns an empty string.
How can I get the border color value used on the element?
Using $("#id").css("background-color") to retrieve an element's background color (or most other CSS attributes) works just fine, but
$("#id").css("border-color") returns an empty string.
How can I get the border color value used on the element?