How to prevent another fuction while executing one function
-
Hi, I have four functions in javascript. and when I click one button(Add Transaction) that execute first function addTrans(). if I click another button(end email) that call sendEmail() function. Basically I want to while executing one function even if you click another button(that execute function) should not work. I tried many options like "switch" but still doesn't work. Thanks in advance. Amit Chowdhury
-
Hi, I have four functions in javascript. and when I click one button(Add Transaction) that execute first function addTrans(). if I click another button(end email) that call sendEmail() function. Basically I want to while executing one function even if you click another button(that execute function) should not work. I tried many options like "switch" but still doesn't work. Thanks in advance. Amit Chowdhury