Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(function(){
- var nome = $("#nome").val();
- var mail = $("#mail").val();
- var cpf = $("#cpf").val();
- $.ajax({
- url: '/path/to/file',
- type: 'default GET (Other values: POST)',
- dataType: 'default: Intelligent Guess (Other values: xml, json, script, or html)',
- data: {nome:nome, mail:mail, cpf:cpf},
- success: function(data){
- console.log(data);
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement