提交表单的过程中显示loading等待
![提交表单的过程中显示loading等待 提交表单的过程中显示loading等待](https://i-blog.csdnimg.cn/blog_migrate/5df5093ea67086c06e243953326d7cbc.jpeg)
XML/HTML Code
- <form method="post" action="" name="subscribeForm">
- <fieldset>
- <label>Name: </label><input type="text" class="effect" name="name">
- </fieldset>
- <fieldset>
- <label>Email: </label><input type="text" class="effect" name="email">
- </fieldset>
- <div id="button">
- <input type="submit" value="提交" name="subscribeForm"/>
- </div>
- </form>
load.php
PHP Code
- <?php
- sleep(3);
- echo 1;
- ?>
原文地址: http://www.freejs.net/article_biaodan_114.html