Point Posted October 4, 2021 Share Posted October 4, 2021 hello, how to change color on selected unispeedbutton thanks in advance. testcase.7z Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 4, 2021 Share Posted October 4, 2021 Hello, Have you tried searching on the forum? Quote Link to comment Share on other sites More sharing options...
Point Posted October 4, 2021 Author Share Posted October 4, 2021 Yes, and i modified your code that i get in another thread. but still not work. please check for my test case project. i wanna change gray color after unispeedbutton click/selected. Quote Link to comment Share on other sites More sharing options...
irigsoft Posted October 4, 2021 Share Posted October 4, 2021 8 minutes ago, Popo said: Yes, and i modified your code that i get in another thread. but still not work. please check for my test case project. i wanna change gray color after unispeedbutton click/selected. Hello, try this onServerSide SpeedButton.OnClick unISession.AddJS ('document.getElementById("' + YourComponent.JSId + '").style.background = "gray";'); Quote Link to comment Share on other sites More sharing options...
Point Posted October 4, 2021 Author Share Posted October 4, 2021 Hi irigsoft, thanks for reply. i meant change gray color to another color when unispeedbutton has selected or clicked uspdbtn.mp4 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 4, 2021 Share Posted October 4, 2021 We will check. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted December 27, 2023 Share Posted December 27, 2023 I'm putting this color on a SpeedButton with the command unISession.AddJS ('document.getElementById("' + _SpeedButton.JSId + '").style.background = "lime";'); How do I return the original color or remove the background? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 28, 2023 Share Posted December 28, 2023 Hello @eduardosuruagy This post may help you: 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.