有时候需要用代码编写在客户端网页中可编辑的表格以输入数据提交给后台数据库,做了一个小小的demo,效果图:
代码部分:
<div class="BMform">
<form action="#">
<table class="baoM">
<h1 class="title">第十三届“理想杯”计算机技能大赛报名表</h1>
<tr>
<td scope="row" width="150px">负责人姓名</td>
<td class="fuNa" colspan="2" height="30px"><input type="text" class="fuNa" /></td>
<td width="100px">年级</td>
<td class="fuNa" colspan="2