我的布局中有两个 div。我在左边的 div 中写了表格,在右边的 div 中有一个表格。
单击保存按钮后,必须刷新表所在的右侧 div。有人能帮我吗?
这是我的代码
//This is my **Left div**, Where i need to enter the **values** and when I click on **save** button, All the values must be displayed in the **right div** and that **right div must be refreshed**
<div align="left">
<div id="bundle_number_text_label"> Bundle Number </div>
<input id="bundlenumber" style=" padding: 3px 0;" type="text" name="bundle_number" /><br />
<div id="date_text_label"> Date </div>
<input type="text" style=" padding: 3px 0;" id="date" READONLY/><br/>
<div id="length_text_label"> Length </div>
<input id= "length" style=" padding: 3px 0;" type="text" name="Length" /> (in mm)
<input type="radio" name="browser" value="number" checked>
<label><?=lang('number_txt')?></label>
<input type="radio" name="browser" value="Balance"/>
<label><?=lang('balance_txt')?></label></br>
<input id= "rate" style=" padding: 3px 0;" type="text" name="Rate" />
<input type="button" value="Save" name="Save" id="save_id">
</div>
//这是我右边的div,点击保存按钮后,所有的值都必须显示在这里,这个div必须刷新。
<div id="div_save" align="left">
<table align="center !important" width="80%" border="1px" cellspacing="0" cellpadding="0">
<tr>
<th>Select</th>
<th>Bundle Number</th> 
<th>Date</th>
<th>Length(mm)</th>
<th>Numbers</th>
<th style="display:none;">Party id</th>
</tr>
<tr>
<td align="center" valign="top">
<input type="radio" /></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
</tr>
<tr>
<td align="center" valign="top">
<input type="radio" /></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
<td align="center" valign="top"></td>
</tr>
</table>
</div>