阅读背景:

jquery ajax event.preventDefault()取消表单的提交动作

来源:互联网 

I create a form in html:

我在html中创建一个表单:

<form id="flog" action="https://localhost/book.php" method="post">
                    <div id="inputUser">
                        <label for="userName">User</label>
                        <input type="text" name="userName" id="userName">
                    </div>
                    <div id="inputPass">
                        <label for="password">Password</label>
                        <input type="password" name="password" id="password">
                    </div>
                    <div id="savePassword">
                        <input type="checkbox" id="savePassword" value="CheckSavePAssword">Save password
                        <br>
                    </div>
                    <input type="submit" value="Acceptar">
                </form>
<f



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: