I've been using ajax, all right up there, the problem is that I need to send information from several sides is not a form, I want to generate a pdf report, the problem is that I do not know how to pass that information and that it shows in a window.
$.ajax({
data:{
"alumno":$().val(),
"matricula":"#txt_matricula".val(),
"carrera":"#txt_carrera".val(),
"grupo":"AE9".val(),
"celular":"#txt_celular".val(),
"email":"#txt_email".val(),
"nivel":"#sel_modulo".val(),
"pago":"#sel_pago".val(),
"grupo_ins":"#sel_grupo".val(),
"horario":"#txt_horasi".val(),
"docente":"#txt_docasi".val(),
},
url:"php/format_f.php",
type:"POST",
beforeSend: function(){
},
success:function(vista){
window.location.href = 'php/format_f.php';
Mensaje("verde","Se ha generado tu inscripción con exito!");
}
});
The file format_f
is the one that resides and shows the information, but some solution to be able to send them, Or that another form recommends me that it is not using form.