<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head>
<body>
<table id="table" border="1">
<tr>
<td>这里,点击后就可以编辑</td>
</tr>
</table>
</body>
</html>
<script src="editable-table-master/mindmup-editabletable.js"></script>
<script src="editable-table-master/numeric-input-example.js"></script>
<script type="text/javascript">
// https://github.com/mindmup/editable-table
$(function () {
$('#table').editableTableWidget({editor: $('<textarea>')});
});
</script>
网友评论