jquery如何对table进行td双击修改?
网友回复
很简单
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style>
table {
border-collapse: collapse;
border-spacing: 0;
margin-right: auto;
margin-left: auto;
width: 100%;
}
th,td {
border: 1px solid #b5d6e6;
font-size: 12px;
font-weight: normal;
vertical-align: middle;
height: 20px;
width: 25%;
}
th {
text-align: center;
background-color: Gray;
}
</style>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script>
<script>
$(function() {
$('#tableId').on('dblclick', 'td',...点击查看剩余70%


