$(document).ready(function(){ //Menu Toggle Script $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); }); // For highlighting activated tabs $("#tab1").click(function () { $(".tabs").removeClass("active1"); $(".tabs").addClass("bg-light"); $("#tab1").addClass("active1"); $("#tab1").removeClass("bg-light"); }); $("#tab2").click(function () { $(".tabs").removeClass("active1"); $(".tabs").addClass("bg-light"); $("#tab2").addClass("active1"); $("#tab2").removeClass("bg-light"); }); $("#tab3").click(function () { $(".tabs").removeClass("active1"); $(".tabs").addClass("bg-light"); $("#tab3").addClass("active1"); $("#tab3").removeClass("bg-light"); }); })
Script Copy url Copy url with Tag
Bootstrap CSS https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css copy copy script
Bootstrap JS https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js copy copy script
Icons https://use.fontawesome.com/releases/v5.8.1/css/all.css copy copy script
Jquery https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js copy copy script

Related Snippets

view all snippets
About this snippet

Bootstrap 4 Payment form with three transfer options snippet is created by Omkar Bailkeri using Bootstrap 4.0.0, Javascript 3.2.1. This snippet is free and open source hence you can use it in your project.Bootstrap 4 Payment form with three transfer options snippet example is best for Bootstrap payment, responsive.A great starter for your new awesome project with 1000+ Font Awesome Icons, 4000+ Material Design Icons and Material Design Colors at BBBootstrap.com.

Join BBBootstrap community

Contribute an awesome snippet to help other developer and designers