Cita:
Iniciado por dobled Javascript!!
con dos paginas en asp tambien se puede, mm que jil
botones.asp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento sin título</title>
</head>
<body>
<form name="form1" method="post" action="detecta_boton.asp">
<input name="boton" type="submit" id="boton" value="boton">
<input name="boton1" type="submit" id="boton1" value="boton1">
</form>
</body>
</html>
detecta_boton.asp
<%
Valor = Request.Form("boton")
Valor1 = Request.Form("boton1")
If Valor = "" Then
Response.Write("Boton1")
Else
Response.Write ("Boton")
End If
%>