Change border-bottom color using jquery?

halocursed picture halocursed · Oct 2, 2009 · Viewed 139.1k times · Source

I want to change the color of the bottom border using jquery..Thanks

Answer

nil picture nil · Oct 2, 2009
$("selector").css("border-bottom-color", "#fff");
  1. construct your jQuery object which provides callable methods first. In this case, say you got an #mydiv, then $("#mydiv")
  2. call the .css() method provided by jQuery to modify specified object's css property values.