<스크립트>
$(function(){
$("#getAtr").click(function(){
$str='';
$str ="
";
$str =" | ";
$str =" | ";
$str =" | ";
$str =" | ";
$str =" | "
$str ="<입력 유형= 'text' name='advPosition[]' /> | ";
$str ="删除追加 | ";
$str ="
";
$("#addTr").append($str);
}) ;
});
function getDel(k){
$(k).parent().remove();
}
------------------------------- -----------------------
html부분