如何在js颜色选择器上对同一事件分别更改任何元素的背景色和颜色,例如输入框或div。jscolor {valueElement:'valueInput',styleElement:'rect'}">Click here to pick a color</button>我使用jscolor.js选择颜色并
我想更改组合框中某些项目的字体,以表示当前无法选择该选项。这有可能吗?其他解决方案,如将背景颜色更改为灰色左右,也是可行的。我设想类似于修改tk列表框中的项目
lb.itemconfig(0, {'bg':'red'}) # set red as background color for first item