jquery on click works only two times

my on click function works only for two times. After the second click nothing more happens? What can it caused?

$(document).on('click', '.load_content', function(){
    console.log('click to load');

Read more here: https://stackoverflow.com/questions/64411367/jquery-on-click-works-only-two-times

Content Attribution

This content was originally published by Marc_78 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: