<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
</head>
<body>
<table width="200" border="0" <%if Request("tabella") <> 1 Then Respose.write("style=""display:none""")%>>
<tr>
<td>Tabella 1</td>
</tr>
</table>
<table width="200" border="0" <%if Request("tabella") <> 2 Then Respose.write("style=""display:none""")%>>
<tr>
<td>Tabella 2</td>
</tr>
</table>
</body>
</html>
prova.asp?tabella=1 esce errore sulla seconda tabella
Tipo di errore:
Errore di run-time di Microsoft VBScript (0x800A01A8)
Necessario oggetto: ''
/prova.asp, line 14
prova.asp?tabella=2 esce errore sulla prima tabella
Tipo di errore:
Errore di run-time di Microsoft VBScript (0x800A01A8)
Necessario oggetto: ''
/prova.asp, line 9

Rispondi quotando