Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST['id'])){
- print_r($_POST);
- }
- /*
- sya udah nyoba.. berhasil masuk kok!!
- kecuali kalau kamu memakai ajax.. nah itu ngak masuk..
- krn saya belum nyoba kl pake ajax
- */
- ?>
- <script src='../asset/js/jquery.1.7.1.min.js'></script>
- <form method="post" id="test">
- <div id="form_tes">
- <input type="text" name="id" />
- </div>
- <input type=submit />
- </form>
- <script>
- $("#form_tes").append('<br/><input type="text" name="name" />');
- </script>
Advertisement
Add Comment
Please, Sign In to add comment