Hi,
i have a button “MyButton” and would like change the text and/or background color:
echo "<script>document.getElementById('sc_btnMyButton_top').bgcolor='red';</script>";
echo "<script>document.getElementById('sc_btnMyButton_top').textElement.innerText = 'my new text';</script>";
(SC add “sc_btn” and “_top” to the button name)
But that does not work … why?