--- a/betweenpoint.php +++ b/betweenpoint.php @@ -95,6 +95,21 @@ function submitMove () { $.post("betweenpoint.move.php", $("#moveform").serialize(), function(html){ $("#response").html(html); + clearForms(); + return false; + }); +}; +function submitDelete () { + $.post("betweenpoint.delete.php", $("#moveform").serialize(), function(html){ + $("#response").html(html); + clearForms(); + return false; + }); +}; +function submitAdd () { + $.post("betweenpoint.add.php", $("#moveform").serialize(), function(html){ + $("#response").html(html); + clearForms(); return false; }); }; @@ -224,7 +239,8 @@ oldgeopo newlatlng - + +