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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -