我想使用插件的登录表单,其中电子邮件和密码是两个字段。虽然我有用于验证电子邮件和密码的数据库中存储的数据,但只要点击提交按钮,模式将在没有验证的情况下关闭。我不想退出模式,直到输入有效的电子邮件和密码或点击取消按钮。标记如下:引导模态jquery插件 - 登录
<!Doctype = html>
<head>
meta data entered
</head>
<body>
<div class="modal-content">
<div class="modal-header">
<h1>Sign In</h1>
</div>
<div class="modal-content">
<form>
<input name="email" type="email">
<input name="password" type="password">
<button type="submit">Submit</button>
</form>
</div>
<div class="modal-footer">
</div>
</div>
有人可以帮忙吗? 谢谢
提供编码部分也 – TechGuy
代码验证在哪里? – Ashish