Answer the question
In order to leave comments, you need to log in
How to remove button border after showing content?
Good afternoon. There is a block with a Load More button. The button works well. But after showing the content, there is such a border from the button. How to remove it? Tell me please. Implemented in jquery. I'm not familiar with jquery.
here is the code
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
$(document).ready(function(){
$("#loadMore").on("click", function(e){
e.preventDefault();
$(".content:hidden").slice(0, 4).slideDown();
if($(".content:hidden").length === 0) {
$("#loadMore").text("").addClass("noContent");
}
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question