console
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>登录</title>
</head>
<style>
.main-table {
border-collapse: collapse;
border: 1px solid #c0c0c0;
color: #232323;
}
</style>
<script>
function test(temp){
temp.htmlText="12312321";
}
</script>
<body>
<table class="main-table"
border="1" cellpadding="10" cellspacing="0">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<tr>
<td onload="test(event.currentTarget)">1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<tr>
</table>
</body>