![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/12/2005, 12:03
|
| | Fecha de Ingreso: julio-2005
Mensajes: 41
Antigüedad: 19 años, 7 meses Puntos: 0 | |
Muchas gracias, lo del action funciona perfectamente, el problema, lo explico de otra manera, yo tengo esto:
<form name="f1" method="post" action="directorio.phtml">
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr class="Estilo13">
<td width="12%"><strong>Nombre</strong></td>
<td width="35%"><input name="nombreinmo" type="text" id="nombreinmo" size="25" maxlength="25" style="background-color:#E6E6E6;"></td>
<td width="11%"><strong>Provincia</strong></td>
<td width="42%"><span class="Estilo36">
<?php
echo '<select name="provincias" onChange="alert("hola");" style="background-color:#E6E6E6;">';
y no me funciona el onChange, pero en cambio si pongo: onChange="document.f1.submit();", eso si lo hace, pero yo lo que quiero es que cuando haga el onChange llame a una funcion, pero no lo consigo, lo que no entiendo es que con el submit si funcione y el alert (o cualquier otra funcion) no funcione |