<ul id='group_top'> <li class='team'><input type='text' id='txt"+ ++i +"' readonly /> <input type='text' id='txt"+ ++i +"' /> <input type='text' id='txt "+ ++i +"' /> <input name="" type="button" value="删 除" onclick="delteam_onclick(this)" />
</li> <li class='team'><input type='text' id='txt"+ ++i +"' readonly /> <input type='text' id='txt"+ ++i +"' /> <input type='text' id='txt "+ ++i +"' /> <input name="" type="button" value="删 除" onclick="delteam_onclick(this)" />
</li>
    </ul>
<script language="javascript">
function delteam_onclick(obj)
{
    if(obj!=null && obj.tagName!=null)
    {
        obj.parentElement.removeNode(true);//IE only
        //var tempobj = obj.parentElement;
        //tempobj.parentElement.removeChild(tempobj);
    }
}
</script>