Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/07/2002, 11:51
Avatar de Webstudio
Webstudio
Colaborador
 
Fecha de Ingreso: noviembre-2001
Ubicación: 127.0.0.1
Mensajes: 3.499
Antigüedad: 22 años, 5 meses
Puntos: 69
Re: Varios 'submit' en un formulario

Wakkos, yo lo resuelvo así :

primero tengo un input type hidden, con el nombre de la variable "accion".

<input type="hidden" name="accion">

Y luego tengo los diferentes botones:

<input type="button" name="Boton1" value="Borrar" onClick="this.form.accion.value='borrar';this .form.submit();">
<input type="button" name="Boton1" value="agregar" onClick="this.form.accion.value='agregar';thi s.form.submit();">
etc.

Saludos.

<hr><font size=2 face=verdana>- Pablo Rigazzi (<img src=http://www.fantabuloso.com/iB_html/non-cgi/emoticons/bullwhip.gif align=absmiddle>)[/CODE]
<font size=1 color=#333333>Visita <a href=http://www.web-studio.com.ar>Web Studio</a>[/CODE]