campo buscador

This commit is contained in:
humano 2018-12-26 12:08:16 -05:00
parent dc8ed0667c
commit c62238b458

View File

@ -11286,7 +11286,8 @@ $div ="div_buscador_$name";
//$onchange = " delay(xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$tipo'),'10500'); document.getElementById('$name').value='';";
$claves = remplacetas("form_campos_valores","id_form_campo","$id_campo","campo_valor","");
$claves= $claves[0];
$onchange = " delayFunction(function() { javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves')},0); ; document.getElementById('$name').value='';";
//$onchange = " delayFunction(function() { javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves')},0); ; document.getElementById('$name').value='';";
$onchange = "javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves'); ; document.getElementById('$name').value='';";
$onclick = " xajax_buscador_select('$id_campo','$form_id','','$name','$control','$tipo'); document.getElementById('$name').value=''; (this).value='';";
$resultado ="
@ -11448,7 +11449,7 @@ $resultado .= "
$respuesta->addAssign("$div","innerHTML","$resultado $consulta");
$respuesta->addAssign("$div","innerHTML","$resultado");
return $respuesta;
}