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
Post a Comment