Chrome/jQuery Uncaught RangeError: Maximum call stack size exceeded

前端 未结 6 679
天命终不由人
天命终不由人 2020-12-04 17:27

I am getting the error \"Uncaught RangeError: Maximum call stack size exceeded\" on chrome. here is my jQuery function

$(\'td\').click(function () {
                 


        
6条回答
  •  萌比男神i
    2020-12-04 18:01

    Mine was more of a mistake, what happened was loop click(i guess) basically by clicking on the login the parent was also clicked which ended up causing Maximum call stack size exceeded.

    $('.clickhere').click(function(){
       $('.login').click();
    });
    
    
提交回复
热议问题