How can I change the color/style of a button when it is clicked

I have a button attached to a query result, I will like to change the style of the button with javascript when a user clicks on it.


Hi temitope,

Currently we do not support this, thanks for bringing it to our attention. In our next release we will improve this and have the sender variable available so this can be perfomed.


Hey Anne, It will be also good. If the Button has a loading state as well when we attach a function to the button on the click event. This will create a good feedback loop. Currently, theirs is no way to know if the function worked correctly or not.