Hello, please tell me how correctly in the php handler file to do the reverse answer on the page, this is the code for sending the form to the server:
<script type="text/JavaScript"> $(document).ready(function() { $("#form").submit(function(event) { event.preventDefault(); $.ajax({ url: "podpiski.php", type: "post", data: $("#form").serialize(), success: function(answer) { $("#answerlog").html(""); } }).done(function() { $("#loadlog").fadeOut(400); }); }); }); </script>