<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>title</title>
<script src="jquery-latest.js"></script>
<script>
$(document).ready(function(){
alert($("td#av").text());
$("td#av").before("====");
});
</script>
</head>
<body>
<table>
<tr>
<td id="av">111111111</td>
<td>2222222222</td>
</tr>
</table>
</body>
</html>
Jquery设置获取td内容
最新推荐文章于 2022-02-19 15:47:19 发布