DOM refresh on long running function

后端 未结 12 2288
醉话见心
醉话见心 2020-11-27 20:54

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

12条回答
  •  离开以前
    2020-11-27 21:24

    Have you tried adding listener to "onmousedown" to change the button text and click event for longrunning function.

提交回复
热议问题