Ver Mensaje Individual
  #11 (permalink)  
Antiguo 18/05/2005, 18:42
jorcri
 
Fecha de Ingreso: diciembre-2003
Mensajes: 120
Antigüedad: 21 años, 5 meses
Puntos: 0
ups, perdon copie del dreamweaver, sorry:, este es:

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<div align="center">
  <table width="740" height="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#BECB94">
        <tr>
          <td width="79%" colspan="2"><div align="center" class="Estilo6"></div> <div align="center" class="Estilo6">
              </div>            <table width="100%"  border="0" cellspacing="0" cellpadding="25">
              <tr>
                <td><p align="center" class="Estilo4">&nbsp;</p>
                  <form ACTION="/eliminar_productos2.asp?" METHOD="post" name="formeliminarproducto" id="formeliminarproducto">
                    <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="Estilo4">
                      <tr>
                        <td width="36%"><div align="center">N&ordm; Referencia a eliminar: </div></td>
                        <td colspan="2"><div align="left">
                          <select name="Refe" size="1" id="Refe">
  
                            <option value="10">10</option>
  
                            <option value="11">11</option>
  
                            <option value="12">12</option>
  
                            <option value="13">13</option>
  
                            <option value="14">14</option>
  
                            <option value="16">16</option>
  
                          </select>
  </div>
			</td>
                      </tr>
                      <tr>
                        <td colspan="3"><div align="center">
                          <input name="elimiar_produc" type="submit" id="elimiar_produc" value="Eliminar Producto">
                        </div></td>
                      </tr>
                    </table>
                    <input type="hidden" name="MM_delete" value="formeliminarproducto">
                    <input type="hidden" name="MM_recordId" value="10">
			      </form><p align="justify">&nbsp;</p>
                </td>
              </tr>
            </table></td>
    </tr>
  </table>      
      </td>
    </tr>
  </table>
</div>
</body>
</html>
puede estar aqui el error:

<input type="hidden" name="MM_recordId" value="10">

ya que recoje 10 que es el primer valor de la lista, y si no cojeria el 11 y etc..., value="deveria_ser_el_valor_indicado_a_enviar_para _borrar", no?

mil gracias por tu atencion, te devo unas cervezas de verdad.

un saludo!!!
__________________
jorcri...

Última edición por jorcri; 18/05/2005 a las 18:53