Sometimes I can invoke it like this:
$.ajax({
type: "GET",
url: "Mantenimiento/Encuesta",
data: { iIdEncuesta: iIdEncuesta },
success: function (oDatos) {
$("#divEncuesta").html(oDatos);
}
});
and others like this:
$.ajax({
type: "GET",
url: "Encuesta",
data: { iIdEncuesta: iIdEncuesta },
success: function (oDatos) {
$("#divEncuesta").html(oDatos);
}
});
I do not know for sure what the problem may be and how I should proceed in this regard.