ajax - AutoSave Not Working -
can see obvious reason why autosave not working? set alerts , works until hits $.ajax call
var timer; $('#about').keyup(function () { cleartimeout(timer); timer = settimeout(function (event) { var aboutval = $('#about').val(); var memberid = $('#memberid').val(); $.ajax({ url: 'includes/auto-save-about.asp', data: 'aboutval='+aboutval+'&memberid='+memberid, success: function(data) { $("#aboutstatus").html('saved').show().fadeout(3000); } }); }, 2000); });
Comments
Post a Comment