jquery slidetoggle
$("button").click(function(){
$("p").slideToggle();
});
jquery slidetoggle
$("button").click(function(){
$("p").slideToggle();
});
toggle jquery remove others
$(".nav-link").click(function () {
// If the clicked element has the active class, remove the active class from EVERY .nav-link>.state element
if ($(this).hasClass("active")) {
$(".nav-link").removeClass("active");
}
// Else, the element doesn't have the active class, so we remove it from every element before applying it to the element that was clicked
else {
$(".nav-link").removeClass("active");
$(this).addClass("active");
}
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us