Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change a button color ?
#7
Hi Soren,


The below code should work on an IW button (make sure you have RenderjQuery=true in SC->JavaScriptOptions').

Code:
//Replace BTNREFRESH will your button name  

btnRefresh->ScriptEvents->Values["onClick"] = "$('#BTNREFRESH').css('background-color', 'red');";

Also, if you have LockOnSubmit=true, LockUntilLoaded=true on your form you should see the spinning wheel.

Regards,
Mark
Reply


Messages In This Thread
How to change a button color ? - by SorenJensen - 03-05-2020, 07:26 AM
RE: How to change a button color ? - by MJS@mjs.us - 03-17-2020, 03:50 PM
RE: How to change a button color ? - by Jorro90 - 03-27-2020, 04:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)