0
<ul class="nav pull-right">
<li class="active"><a href="#home">HOME</a></li>
<li><a href="#features">FEATURES</a></li>
<li><a href="#check">CHECK E-MAIL</a></li>
<li><a href="#testimonials">TESTIMONIALS</a></li>
<li><a href="#contact">CONTACT</a></li>
<li><a href="#Signup" role="button" data-toggle="modal" class="btn btn-success">Sign Up</a></li>
</ul>
<div id="Signup" class="modal hide fade LoginSignup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel2">Sign Up</h3>
</div>
<div class="modal-body">
<p>@alert</p>
<form method="POST" action="" name="signupform">
<input type="text" placeholder="First Name" name="firstname">
<input type="text" placeholder="Last Name" name="lastname">
<input type="text" placeholder="E-mail" name="email">
<input type="password" placeholder="Password" name="password">
<input type="password" placeholder="Confirm Password" name="password1">
<input type="submit" name="signup" value="Sign Up" />
<label>By registering you are automatically agreeing to our <a href="#">Terms of Service</a></label>
</form>
</div>
</div>
這是從我的地方下載,當我在菜單中點擊註冊(第一個代碼我貼)一個HTML5模板後,它會打開某種對話框(?)我填寫的文本框就好了,當我點擊提交它註冊就好了,我想保持對話框(?)打開,所以我可以通過變量警報顯示消息,說你成功註冊了blabla。保持對話框(?)開放點擊提交按鈕
我可以得到一切正常工作,包括警報,但我不能保持提交後註冊對話框打開,所以我不得不再次單擊菜單上的註冊看到警報消息。