How might I get an element's border color value using jQuery?

Viewed 18934

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?

2 Answers
Related