Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/09/2010, 08:46
naciostars
 
Fecha de Ingreso: enero-2009
Ubicación: Neiva, Huila
Mensajes: 196
Antigüedad: 15 años, 3 meses
Puntos: 2
Respuesta: que = $_POST["unitats"]; NO FUNCIONA

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<SCRIPT>
function afegiringredient(f)
{
que = f.unitats.value;
alert(que);
}
</SCRIPT>
<div class='ingredients'>2 gr de pa</div>
<form name='recepta' method='post' action='intrrecepta.php'>
<input type='text' name='unitats' size='4'><A href='javascript:afegiringredient(recepta)'>sdfdsf sd</A>
</form>