亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

bootstrap遮罩層如何進行表單提交?

bootstrap遮罩層如何進行表單提交?

可勁吃醋可勁鬧 2017-05-09 14:55:09
<!-- 模態框(Modal) --><div class="modal fade" id="myModal" tabindex="-100" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> ? ?<div class="modal-dialog"> ? ? ? ?<div class="modal-content"> ? ? ? ? ? ?<div class="modal-header"> ? ? ? ? ? ? ? ?<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> ? ? ? ? ? ? ? ?<h4 class="modal-title" id="myModalLabel">個人信息</h4> ? ? ? ? ? ?</div> ? ? ? ? ? ?<div class="modal-body"> ? ? ? ? ? ? ? ?<form role="form" class="form" action="preservationUserInformation" method="get" > ? ? ? ? ? ? ? ? ? ?<input type="hidden" name="id" value="${user.id}"> ? ? ? ? ? ? ? ? ? ?<h4><c:if test="${!user.name.equals('')}">${user.name}</c:if></h4><span class="glyphicon glyphicon-mars">圖標顯示性別</span> ? ? ? ? ? ? ? ? ? ?<table class="table table-striped"> ? ? ? ? ? ? ? ? ? ? ? ?<tbody> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td><label class="control-label">用戶名:&nbsp;</label></td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" ?class="form-control" disabled="disabled" value="${user.username}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?<c:if test="${user.name.equals('')}"> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td><label class="control-label">姓名:&nbsp;</label></td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="name" class="form-control" value="${user.name}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?</c:if> ? ? ? ? ? ? ? ? ? ? ? ?<c:if test="${user.sex.equals('')}"> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td><label class="control-label">性別:&nbsp;</label></td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<div class="form-group"> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<label class="radio-inline"> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="radio" name="sex" value="男" name="sex">男 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</label> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<label class="radio-inline"> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="radio" name="sex" value="女" name="sex">女 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</label> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</div> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?</c:if> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td>年齡:&nbsp;</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="age" class="form-control" value="${user.age}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td>家庭住址:&nbsp;</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="address" class="form-control" value="${user.address}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td>電話:&nbsp;</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="phone" class="form-control" value="${user.phone}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td>郵箱:&nbsp;</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="email" class="form-control" value="${user.email}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?<tr> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td>QQ:&nbsp;</td> ? ? ? ? ? ? ? ? ? ? ? ? ? ?<td> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" name="qq" class="form-control" value="${user.qq}" /> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</td> ? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ? ? ? ? ? ? ? ?</tbody> ? ? ? ? ? ? ? ? ? ?</table> ? ? ? ? ? ? ? ? ? ?<div class="modal-footer"> ? ? ? ? ? ? ? ? ? ? ? ?<button type="button" class="btn btn-default" data-dismiss="modal">關閉</button> ? ? ? ? ? ? ? ? ? ? ? ?<button type="submit" class="btn btn-default" data-dismiss="modal">提交更改</button> ? ? ? ? ? ? ? ? ? ?</div> ? ? ? ? ? ? ? ?</form> ? ? ? ? ? ?</div> ? ? ? ?</div> ? ?</div>
查看完整描述

1 回答

已采納
?
幕附

TA貢獻78條經驗 獲得超18個贊


<form role="form" class="form" action="preservationUserInformation" method="get" > action不就是你的提交地址嗎?別get提交用post提交

查看完整回答
反對 回復 2017-05-09
  • 1 回答
  • 0 關注
  • 3469 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號