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
Fórum:
PHP
Category:
Miscellaneous
ID da thread:
01646032
ID da mensagem:
01646071
Views:
31
>>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
Responder
Mapa
View