How to change some portion of class using JavaScript?

后端 未结 0 683
半阙折子戏
半阙折子戏 2020-12-06 22:34

I have a html containing classes like text-indigo-400, text-indigo-*.

When I click a button I want to change text-indigo- to

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