Published
- 1 min read
how to prevent ajax from call twice
The solution for this is noted below
how to prevent ajax from call twice
Solution
$(element)
.off('click')
.on('click', function () {
// function body
})
Try other methods by searching on the site. That is if this doesn’t work