html標籤的運用index.html

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<script>
function jump(){
window.location="/thinkphp/index.php/User/add";
}
</script>
<body>
<table border="1px solid red" width="200px">
<tr>
<td>id</td>
<td>username</td>
<td>sex</td>
<td>action</td>
</tr>
<volist name='data' id='vo'>
<tr>
<td><{$vo.id}></td>
<td><{$vo.username}></td>
<td><{$vo.sex}></td>
<td>
<a href="/thinkphp/index.php/User/del/id/<{$vo.id}>">刪除</a>  |  
<a href="/thinkphp/index.php/User/modify/id/<{$vo.id}>">修改</a>
</td>
</tr>
</volist>
</table>
<center>
<button οnclick="jump()">添加用戶</button>
</center>
</body>
</html>
發佈了327 篇原創文章 · 獲贊 12 · 訪問量 33萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章