set background color on ajax with condition value on mysql

前端 未结 0 1764
闹比i
闹比i 2020-11-30 08:38

i just wanna to show 2 color of button with consition status in mysql data if status = 1 , button color = green if status = 2 , button color = red

this is my button c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题