jQuery/Bootstrap widget that mak

2020-03-29  本文已影响0人  Julianne_zhang
<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>

上一篇下一篇

猜你喜欢

热点阅读