Up
0
Best Answer

Use the

 tag for multiple lines of code. Once again, escape any angle brackets in the code for proper rendering. You may optionally add.

JavaScript Code
function general() {
$('.collapse-btn').on('click', function (e) {
e.preventDefault();
$(this).toggleClass('active')
$(".collapse-wrap").slideToggle(500);
});

$('.short-by a').click(function () {
$(this).toggleClass('active-short').siblings().removeClass('active-short');
});
}
Antimanual

Ask our AI support assistant your questions about our platform, features, and services.

You are offline
Chatbot Avatar
What can I help you with?