-1
Hi I want to send Two valore, one via Post and one via GET to my funcoes.php
in this post I want to send as get the type of request to validate it in the functions and also the date that the client selected from the calendar. via POST
How do I do?
$('#agenda_profissional_online').datepicker().on('changeDate', function(e) {
var agendaData = $('#agenda_profissional_online').datepicker('getDate');
agendaData = agendaData.toLocaleDateString("pt-BR");
$.ajax({url: "funcoes/funcoes.php?solicitacao=HORAS_DISPONIVEIS", success: function(result){
}});
});