The button is added in my user event and triggers ...
# suitescript
k
The button is added in my user event and triggers a function in my client script. While the client function is running, I'd like to set the button to disabled and then enable it again when the function is done so it can't be clicked again while the script is running. End users swear they aren't clicking it more than once but there are multiple results being generated during their "single click" so I'd like to at least rule out user error...