Answer the question
In order to leave comments, you need to log in
$(document).on('ChangeCurrency', function () is executed 2 times?
Good health, connoisseurs!
I don’t understand why $(document).on('ChangeCurrency', function () is executed 2 times?
Inside there is a variable waiting, because there is a delay in getting 1 variable
if(One!== undefined && Two !== undefined){
}
As a result, the code works, but the console writes 2 results each, what did you do wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question