I’m using jQuery to remove the last bottom-border inside a div like this:
$(document).ready(function(){
$("#containerNewBuildings border-bottom:last").css("border-bottom", "none")
});
But for some unknown reason it’s not working. Have I done something wrong in the code?
Selectors are only for DOM elements not for CSS attributes. Do this instead:
EDIT: “Yes, but I’m using several bottom-borders below some menu options, but it’s just the last one I want to remove”
Answer: