Jump to content

Recommended Posts

  • Point changed the title to change color on selected unispeedbutton
Posted

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.

Posted
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";');

  • 2 years later...
Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...