Actually not only ajaxSubmit is being done few times, but the whole "$ ('#yes').one("click",function() { });" function is being repeated...
So the question is - how to prevent function from repeating itself?.. :/
Actually not only ajaxSubmit is being done few times, but the whole "$ ('#yes').one("click",function() { });" function is being repeated...
So the question is - how to prevent function from repeating itself?.. :/