How to change the text color in NumericStepper

别等时光非礼了梦想. 提交于 2019-12-10 22:24:08

问题


I seriously cannot find a way to simply change the text color of a NumericStepper. Is it event possible?


回答1:


Please use 'setStyle' method for text color:

Please read this post : Link




回答2:


Try this,

<input type="text" value="something" onclick="this.value='';this.style.color='red';" />


来源:https://stackoverflow.com/questions/19021844/how-to-change-the-text-color-in-numericstepper

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!