Trying to check the border-right-color value with jQuery sorta like so:
if ($(this).css("border-right-color") == "#000") {
// Do some magic
}
But that doesn't work. console.log
ing() the value of $(this).css("border-right-color") says rgb(0,0,0)
.
So, how do I write this conditional check?