提交表单的过程中显示loading等待
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