Hello,
I searched a lot on the internet for a method that I could change to Bootstrap's navbar theme at the click of a button.
Navbar when the user visited the site:
Whentheuserclicksthebutton:
Thank you in advance.
You can use the class navbar-inverse
which does the effect you are looking for.
Joins an event handset that removes this class on the first click.
An example would look like this:
$('.navbar-inverse').on('click', function(){
$(this).removeClass('navbar-inverse');
});