Improve test script: use local copy, preserve form value after sending

parent 783a8aee
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="//eterfund.ru/js/jquery/latest/jquery.min.js"></script> <script type="text/javascript" src="//eterfund.ru/js/jquery/latest/jquery.min.js"></script>
<script type="text/javascript" src="//eterfund.ru/api/email/svcCheckEmail.js"></script> <script type="text/javascript" src="svcCheckEmail.js"></script>
<style type="text/css"> <style type="text/css">
form { form {
width: 100%; width: 100%;
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</html> </html>
<body> <body>
<form action="" method="post"> <form action="" method="post">
E-mail: <input type="text" name="email" value="" class="svcCheckEmail" /> E-mail: <input type="text" name="email" value="<?php echo $_POST['email']; ?>" class="svcCheckEmail" />
<input type="button" value="Отправить" /> <input type="submit" value="Отправить" />
</form> </form>
</body> </body>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment