Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function() {
- $('form').submit(
- var data = 'name='+name+'phone='+phone;
- function(){
- $.ajax( {
- type: 'POST',
- url: 'add.php',
- data: data,
- success: function() {alert("i send it");}
- } );
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement