I have a button which runs a long running function when it\'s clicked. Now, while the function is running, I want to change the button text, but I\'m having problems in some
Have you tried adding listener to "onmousedown" to change the button text and click event for longrunning function.