网站建设
关于小谭
建站案例
建站知识
联系我们
189 8069 5689
jquery无限添加删除行
Input regulation example for Protien :
function protien_addNew()
{
var phospho_table = $('#protien_table');
for (i=1; i<=5; i++) {
var row = $("
");
var td = $("
");
td.append($("
ID:
Peptide:
"));
row.append(td);
phospho_table.append(row);
}
}
function protien_del()
{
var checked = $("input[type='checkbox'][name='protien']");
$(checked).each(function(){
if($(this).attr("checked") == 'checked')
{
$(this).parent().parent().remove();
}
});
}
当前题目:jquery无限添加删除行
文章链接:
http://cdxtjz.cn/article/pijcjh.html
其他资讯
python中mod的用法
python中tuple是什么
python中print是什么
python中print的用法
python中pop()的用法