Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Untitled Document</title>
- <script src="../../tugas_akhir(sementara)/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- $("#tambah").click(function() {
- var baris="<tr>"+
- "<td><select><option>- Pilih Akun -</option></select></td>"+
- "<td><input type='text'></td>"+
- "<td><input type='text'></td>"+
- "<td><input type='text'></td>"+
- "<td><button id='tambah'>+</button></td>"+
- "</tr>";
- $("#tabel").append(baris);
- });
- });
- </script>
- </head>
- <body>
- <div id="header"></div>
- <div id="content">
- <form id="pilih-transaksi">
- <h1>Transaksi</h1>
- <a>Transaksi Kas</a> <a>Transaksi Umum</a>
- </form>
- <form id="form-kas" method="post">
- <table id="tabel" border="1">
- <tr>
- <th>No. Akun</th>
- <th>Nama Akun</th>
- <th>Debit</th>
- <th>Kredit</th>
- <th> </th>
- </tr>
- <tr>
- <td><select>
- <option>- Pilih Akun -</option>
- </select></td>
- <td><input type="text"></td>
- <td><input type="text"></td>
- <td><input type="text"></td>
- <td><button id="tambah">+</button></td>
- </tr>
- </table>
- </form>
- <form id="form-umum" method="post"></form>
- </div>
- <div id="footer"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement