I have a form with 2 fields, User and Password.
$.post('recebe.php',{
'Nome:'Meu Nome''
'Senha:'Minha Senha''
},function(data){
alert(data);
});
Is there a way to get the name and value of the inputs and do POST without typing each attribute and its value?