1.用jquery,点击GetValue按钮时,将TestValue元素的值,获取赋值到Value1文本框中
2.页面有多个相同结构的元素,但在不同的tab卡中
<div class="tab-content bg-light" style="width:900px">
<div id="Value" class="container tab-pane active" style="margin:2px; font-size:20px;">
<form id="main" method="post">
<table class="table table-striped">
<tbody>
<tr>
<td style="font-size:20px;color:#008A7D">Test Value</td>
<td><input name="TestValue" type="text" value="100" class="form-control input-group input-group-lg" style="font-size:20px;background-color:lightgray" /></td>
</tr>
</tbody>
</table>
</form>
</div>
<div id="Method" class="container tab-pane fade" style="margin:2px; font-size:20px;">
<form>
<table class="table table-striped">
<tbody>
<tr>
<td style="font-size:20px;color:#008A7D"><input type="button" name="GetValue" /></td>
<td><input name="Value1" type="text" class="form-control input-group input-group-lg" style="font-size:20px;" /></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>