wtf |
wtf
show code
<script>
function del(a){
alert(a);
alert($("#"+a).html());
alert($("#td").html());
alert($("#div").html());
}
</script>
<td id="td">wtf</td>
<div id="div">wtf</div>
<table>
<tr>
<td id="bbbbb">test</td><td><span onclick="del('bbbbb');">click</span></td>
</tr>
</table>