How to integrate a html bootstrap code into JavaScript code?
11:31 31 Dec 2016

I wrote an html web site. There is a button created with bootstrap. I want to change the design of the button and the label text on it, depending on a boolean variable.

Here are the two types of buttons:




How can I integrate this html buttons in this JavaScript code?:

    
javascript html css