0

I'm having some trouble with ajax element, that when i add new element, i will inject new click function to that element, but he also add to the exist elements, so that some elements will call my function triple times or more.

So i wonder:

How to remove exist custom 'click function' and replace new one?

I know .off()but he remove all other functions of my elements so hover() still remove too.

0 Answers0