13/08/2011, 09:49
|
| | Fecha de Ingreso: octubre-2003
Mensajes: 12
Antigüedad: 21 años, 3 meses Puntos: 1 | |
Respuesta: Pasar variables okis perdona....
codigo popup
Código:
<script language="javascript">
function link_popup(enlace) {
features='width=924, height=250, top=0, left=0, status=0, menubar=0, toolbar=0, scrollbars=0';
window.open(enlace.getAttribute('href'), '', features);
}
</script>
Código:
<form action="alta1.php" method="post" enctype="multipart/form-data" name="alta" >
<table border="0" width="auto">
<tr>
<td colspan="2" align="left"><div class="bottitulo"><strong>EMPRESA</strong></div></td>
</tr>
<tr>
<td><div class="bot">Cod</div></td>
<td><input type="text" size="15" name="cod_empresa"></td>
<td><div class="bot">Empresa</div></td>
<td align="left"><input type="text" size="60" name="empresa"></td>
<td><div class="bot">Dirección</div></td>
<td align="left"><input type="text" size="56" name="dire_empresa"></td>
</tr>
</table>
<a href="upload.php" onclick='link_popup(this); return false' target='_blank' >Adjuntar</a>
</form>
necesitaria para el valor de input "cod_empresa" al popup sin mandar el form
Última edición por Pherenick; 13/08/2011 a las 09:50
Razón: falta datos
|