Jquery click function doesn’t work after ajax call?

When you use $(‘.deletelanguage’).click() to register an event handler it adds the handler to only those elements which exists in the dom when the code was executed

you need to use delegation based event handlers here

Be the first to comment

Leave a Reply

Your email address will not be published.