Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function(){
- debuga = $('.resposta');
- enviar = $('form[name="cadastro"]');
- action = 'php/php1.php';
- enviar.submit(function(){
- var nome = $('input[name="nome"]').val();
- var mail = $('input[name="email"]').val();
- $.post(action,{nome: nome, email: mail},function( valores ){
- alert(valores);
- });
- return false;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement