03-17-2020, 03:50 PM
Hi Soren,
The below code should work on an IW button (make sure you have RenderjQuery=true in SC->JavaScriptOptions').
Also, if you have LockOnSubmit=true, LockUntilLoaded=true on your form you should see the spinning wheel.
Regards,
Mark
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