<!DOCTYPE html PUBLIC "
<html xmlns="
<head runat="server">
<title>Jquery 同輩元素選中/未選中效果</title>
<script language="javascript" type="text/javascript" src="Scripts/jquery
<script type="text/javascript">
function selectchange(tempid) {
var alink = $("#linktable")
alink
$(this)
});
$("#alink" + tempid)
}
</script>
<style type="text/css">
{
padding:
text
background
color:#ffffff;
}
{
cursor:pointer;
padding:
text
}
</style>
</head>
<body>
<form id="form
<table width=
<tr>
<td>
<span id="alink
模板
</td>
</tr>
<tr>
<td>
<span id="alink
模板
</td>
</tr>
<tr>
<td>
<span id="alink
模板
</td>
</tr>
<tr>
<td>
<span id="alink
模板
</td>
</tr>
<tr>
<td>
<span id="alink
模板
</td>
</tr>
</table>
</form>
</body>
</html>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20243.html