0
正從輸入框的值通過拉布勒我有form..in這種形式我有預覽按鈕,當我在預覽按鈕i顯示彈出窗口點擊..jQuery中
當用戶點擊預覽按鈕後,輸入值我想在我的彈出窗口中顯示這些值..(在提交之前)在codeigniter請幫助我如何在codeigniter中做到這一點..感謝您
現在我想看到預先提交給定的數據彈出之前提交形式..
<div class="modal-body">
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="panel ">
<div class="panel-heading hidden_color">NOTIFICATION</div>
<div class="panel-body">
<form role="form" class="form-horizontal" action="javascript:;"> <!-- form horizontal acts as a row -->
<!-- normal control -->
<div class="form-group mod_mr20">
<label class="col-md-3 control-label">Subject</label>
<div class="col-md-7 col-md-offset-1 hidden_color">
<p></p>
</p>
</div>
</div>
<div class="form-group mod_mr20">
<label class="col-md-3 control-label">Expires By</label>
<div class="col-md-7 col-md-offset-1 hidden_color">
<p></p>
</div>
</div>
<div class="form-group mod_mr20">
<label class="col-md-3 control-label">Notice visible to</label>
<div class="col-md-7 col-md-offset-1 hidden_color">
<p></p>
</div>
</div>
<div class="form-group mod_mr20">
<label class="col-md-3 control-label">Attach Files</label>
<div class="col-md-7 col-md-offset-1 hidden_color">
<p></p>
</div>
</div>
<div class="form-group mod_mr20">
<label class="col-md-3 control-label">Notice Description</label>
<div class="col-md-7 col-md-offset-1 hidden_color">
<p></p>
</div>
</div>
<div class="clearfix ">
<div class="col-md-offset-10 col-md-2">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">CLOSE</button>
</div>
</div>
</form>
</div>
</div>
</div> <!-- #end col-left -->
</div>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
我想通過jquery檢索這些值的權利? – user3663
是隻使用jQuery。你可以在用戶點擊ok/confirm btn(內部或外部模式)後使用$('form')。submit();來提交表單。或者只是像往常一樣提交表格 –
實際上,我想從輸入框中獲取值,當用戶類型名稱時它應該顯示在預覽彈出以及 – user3663