Hi, Trying to autosave form with AjaxForm (Form plug-in).
script runs with time interval but form is not submitted. I see that save() function is called and does show alert("end of save"); but form is not submitted. Here is the code. <script type="text/javascript"> // wait for the DOM to be loaded $(document).ready(function() { startsave(); }); function startsave() { var timeout = setTimeout( "save()", 10000 ); } function save(){ $('#form').ajaxForm(function() { alert("data has been saved!"); startsave(); }); alert("end of save"); } </script> Any help will be appreciated. Thanks, Anny