php - JQuery $.post call becomes slower after a while -


currently working in project , using $.post make call php file update row in database each time input value changes. noticed after 3 calls, call becomes slower , slower each time change input value. here piece of post call

$("#inputnumber").change(function(){         var x = $(this).val();        $.post("test.php",{number: x},function(data){               $("#somediv").load(data);         });  }); 

i searched on google , found "memory leak". happening memory leak ? if is, how can solve ? or doing wrong ?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -