将以前的行数据添加到动态生成的行 [英] add previous row data to dynamically generated row

查看:80
本文介绍了将以前的行数据添加到动态生成的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张桌子。选择变量的onchange,它会生成行。
我想要做的是,我在第一行中写入的数据应该被复制到生成的行中。
这是我的表和Java脚本。

 < form> 
< table border =1id =engagementments>
< tr>
< th>< input type =checkboxonclick =checkAll(this)>< / th>
< th>组织< / th>
< th> Project< / th>
< th>产品< / th>
< th>活动< / th>
< / tr>
< tr>
< td>< input type =checkboxonclick =checkAll(this)>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
<! -
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
< td>< input type =text/>< / td>
- >
< / tr>
< / table>

发送“验证码”获取 | 15天全站免登陆