I have created a html web site with bootstrap and jQuery. I wanted, that a button change his label text and his design depending on a boolean variable. That worked with JavaScript, but I have this button (in green and blue) all over the page. Now either all buttons appear green or all buttons appear green.
Here is an example of what I mean with two buttons:
How can I stop, that this two buttons always have the same features?