Good morning.
I have tried it with a function but the detail is that the input is readonly
, that is, the user can not write, the input
is text type that feeds from a search engine, a code is brought and places it in that field, and tried placing onchange
and nothing.
Could you tell me with an example? Thanks.
My code:
<input type="text" name="txtnumsoldes" id="txtnumsoldes" size="30" readonly="" />
<a href="javascript: ue_catalogo('solicitud.php?tipo=REPDES');" title="Catalogo"><img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" width="15" height="15" border="0" class="false" ></a>
<select name='cmb' id='cmb' onclick='ue_div()' style=width:350px>;
<option value='-' >---seleccione--- </option>;
FUNCTION WHEN YOU GIVE A CLICK THE CODE PASSES IT TO MY FORM
function ue_aceptar_reportedesde(ls_numsol)
{
opener.document.formulario.txtnumsoldes.value=ls_numsol;
//opener.document.formulario.cmb.value="";
//opener.document.formulario.cmb.disabled=true;
}
close();
}
What was commented was what I tried to do but in the search form I get an "indefinite" error because the cmb does not exist in that form, I do not know if you explain it well