我想我的重命名后的文本框..重命名文本框删除某些行后删除行
TextBoxA1 TextBoxB1
TextBoxA2 TextBoxB2
TextBoxA3 TextBoxB3
然后我删除TextBox2中。然后,我添加一行,我得到这个
TextBox1 TextBoxB1
TextBox3 TextBoxB3
TextBox3 TextBoxB3
我想将其重命名或因为即时通讯使用的每个ID的PHP和一个window.opener重新命名其ID
输出应该是这样的
TextBoxA1 <before the name is TextBoxA1> TextBoxB1 <before the name is TextBoxB1>
TextBoxA2 <before the name is TextBoxA3> TextBoxB2 <before the name is TextBoxB3>
TextBoxA3 <newly added row> TextBoxB3 <newly added row>
这里的的jsfiddle:http://jsfiddle.net/k3vin023/MvQ4h/5/
哦,非常感谢你!它的工作现在。 :) – k3vin023
如果我有2个文本框在相同的TD呢? – k3vin023
它应该重新索引删除后留下的内容。试试看看会发生什么。 – Omnilord