| |||
| Llenado Automatico HOLA AMIGOS, TENGO LA SIGUIENTE DUDA, TENGO UN CAMPO QUE SE LLAMA RUT Y OTRO SUCURSAL Y UN TERCER CAMPO QUE SE LLAMA IDEN....BUENO RESULTA QUE ESTE CAMPO EL 3 IDEN, SE TENDRIA QUE LLENAR EN FORMA AUTOMATICA, ES DECIR, SERIA LA CONCATENACION DE LOS DOS CAMPOS ANTERIORES IDEN = RUT & SUCURSAL, COMO LOGRO ESO? |
| |||
| Re: Llenado Automatico Algo así es lo que estás necesitando?
Código:
<hr noshade size=1><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">bet[/CODE] <html>
<head>
<title> New Document </title>
<script language="JavaScript">
<!--
function llenar(){
document.forms[0].iden.value = document.forms[0].rut.value + document.forms[0].suc.value;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<form method=post action="">
<input type="text" name="rut" onBlur="llenar();">
<input type="text" name="suc" onBlur="llenar();">
<input type="text" name="iden" readonly>
</form>
</body>
</html>
|