<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/htmlcharset=gb2312" />
<title>无标题文档</title>
<script type="text/javascript" src="jquery-1.4.3.js"></script>
<script type="text/jscript">
$(document).ready(function(){
$("#aa").click(function(){
//你要做什么
$("#a").hide()//隐藏按钮
})
})
</script>
</head>
<body>
<div id="a">aaaaa<input id="aa" name="aa" type="button" value="确定"/></div>
</body>
</html>
不会的话可以加我:409067940
你好,试试添加这个函数
<script type="text/javascript">function delTableRow(n){
n.parentNode.removeChild(n)
}
</script>