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

parent 783a8aee
......@@ -2,7 +2,7 @@
<head>
<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/api/email/svcCheckEmail.js"></script>
<script type="text/javascript" src="svcCheckEmail.js"></script>
<style type="text/css">
form {
width: 100%;
......@@ -15,7 +15,7 @@
</html>
<body>
<form action="" method="post">
E-mail: <input type="text" name="email" value="" class="svcCheckEmail" />
<input type="button" value="Отправить" />
E-mail: <input type="text" name="email" value="<?php echo $_POST['email']; ?>" class="svcCheckEmail" />
<input type="submit" value="Отправить" />
</form>
</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