25 lines
554 B
JavaScript
Executable File
25 lines
554 B
JavaScript
Executable File
function Buscar()
|
|
{
|
|
new Ajax.Request(WEB_ROOT+'/ajax/reportes-faltantes.php',
|
|
{
|
|
method:'post',
|
|
parameters:$('frmFaltantes').serialize(true),
|
|
onLoading: function(){
|
|
$('loadBusqueda').show();
|
|
$('contenido').innerHTML = "";
|
|
},
|
|
onSuccess: function(transport){
|
|
var response = transport.responseText || "no response text";
|
|
$('loadBusqueda').hide();
|
|
$("contenido").innerHTML=response;
|
|
},
|
|
onFailure: function(){ alert('Something went wrong...') }
|
|
});
|
|
|
|
}
|
|
|
|
function ExportInv()
|
|
{
|
|
$('frmFaltantes').submit();
|
|
return true;
|
|
} |