试了两个js都不行,我的版本是10 setTimeout(function() { $('[widgetname="button0"]').css("background-color", "#538134"); }, 100); function changeButtonColor() { var button = document.getElementById("button1"); button.style.backgroundColor = '#538134'; } |
0
|
|