Blog

Rebinding event after an ajax call and you thought you’re doing it right

So I got stuck on this for hours, I had no idea what I did wrong. Before this was working well until this case. What I usually do when rebinding events to an element after an ajax call is: $( “.element” ).on( ‘click’, functon() { alert( “Hello!” ); } ); Basically I make an ajax […]