<table>
<tr>
<td><span οnclick="ceshi(this)">ceshi</span></td>
</tr>
</table>
<script>
function ceshi(obj){
var cs = $(obj.).closest("table");
alert(cs.html());
}
</script>
<!--隔行换色-->
$("table").delegate("tr","mouseover",function(){
$(this).addClass("over");
}).delegate("tr","mouseout",function(){
$(this).removeClass("over");
});