http:video.sina.com.cnpsportsgv2010-11-30063061196591.html?opsubject_id=sports-576的背景音

http:video.sina.com.cnpsportsgv2010-11-30063061196591.html?opsubject_id=sports-576的背景音,第1张

DJ Mystic 歌名Time To Say Goodbye

原版是莎拉布拉曼的

下载地址:http://tmgelectronics.com/uploads/DJ_Mystic_-_Time_To_Say_Goodbye__Rave_-_Trance_-_Jungle_.mp3

农夫烤鸡1给我回答的,引用农夫烤鸡1的回答

我在你的代码上改动了一下你看看

<!DOCTYPE html>

<html>

<head>

<title> new document </title> 

<meta http-equiv="Content-Type" content="text/html charset=utf8"/> 

<script type="text/javascript">

//删除方法

function remove(obj){

obj.parentNode.parentNode.remove()

}

//添加方法

function add(){

var table = document.getElementById("table")

table.innerHTML = table.innerHTML + "<tr><td>xh001</td><td>王小明</td><td><a href='javascript:' onClick='remove(this)' >删除</a></td> </tr>"

}

</script> 

</head> 

<body> 

<table border="1" width="50%" id="table">

<tr>

<th>学号</th>

<th>姓名</th>

<th>操作</th>

</tr> 

<tr>

<td>xh001</td>

<td>王小明</td>

<td><a href="javascript:" onClick="remove(this)" >删除</a></td> 

</tr>

<tr>

<td>xh002</td>

<td>刘小芳</td>

<td><a href="javascript:" onClick="remove(this)">删除</a></td> 

</tr> 

</table>

<input type="button" value="添加一行" onClick="add()" />

</html>


欢迎分享,转载请注明来源:优选云

原文地址:https://54852.com/hy/706967.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-25
下一篇2023-05-25

随机推荐

发表评论

登录后才能评论
保存