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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -