Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the color of a bootstrap button
Message
From
25/12/2016 23:35:02
 
 
To
25/12/2016 11:52:44
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
PHP
Category:
Other
Miscellaneous
Thread ID:
01646032
Message ID:
01646071
Views:
29
>>Is it possible to change the color a bootstrap button if a condition exists?
>>If so, can you please post some sample code?
>
>Not clear if you want change the color at run time or while rendering the html. In either case, there are several classes built into bootstrap to change the color. If that is not what you want then you can always create your own classes to override the bootstrap classes. Jquery makes it easy to change at run time or in php you just us a condition to apply the appropriate class.

James
I want to change it a run time based on data conditions.
Can you give me a PHP sample?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform