Originariamente inviato da fcaldera
un form html deve funzionare anche su IE5, non ci sono santi
ti suggerirei di controllare
1) presenze di tag non chiusi prima e dopo il codice di questo form (valida la pagina) su IE5 e 6 potrebbero non far funzionare il submit
2) eventuali tag inline che racchiudono il form vanno tolti
3) presenza di apici per racchiudere tutti gli attributi (vedi i value del tuo form) per evitare possibili errori di parsing
Ciao ho fatto dei controlli ma i tag mi sembrano tutti chiusi correttamente.
Questa è la pagina html risultate:
Codice PHP:
<!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>Creazione ordini di vendita</title>
<style type="text/css">
.table_class
{
border-width: 2px;
border-style: solid;
border-color: black;
width: 100%;
}
.td_class
{
background-color: #3399CC;
}
.width_10
{
width: 10px;
}
.width_40
{
width: 40px;
}
.width_100
{
width: 100px;
}
.width_180
{
width: 130px;
}
.link
{
text-decoration:none;
color: black;
font-size: 20px;
border-width: 2px;
border-style: solid;
border-color: black;
background-color: #C0C0C0;
}
</style>
</head>
<body>
<form name="form" action="pippo.html" method="POST">
<table class="table_class">
<tr>
<td class="td_class" colspan="2" align="center">
[b]CREAZIONE ODV - POSIZIONE[/b]
</td>
</tr>
<tr>
<td bgcolor="#6699FF" width="10%">
[B]COMMITTENTE<font color="RED">*</font>[/B]
</td>
<td bgcolor="#6699FF">
<input class="width_100" name="KUNNR" type="text">
</td>
</tr>
<tr>
<td bgcolor="#6699FF" width="10%">
[B]DEST.MERCI<font color="RED">*</font>[/B]
</td>
<td bgcolor="#6699FF" >
<input class="width_100" name="KUNWE" type="text">
</td>
</tr>
<tr>
<td class="td_class" colspan="2" align="center">
<input class="width_100" type="submit" value="enter">
</td>
</tr>
</table>
</form>
</body>
</html>
<script type="text/javascript">
function match_code()
{
alert("miao");
location.href='odv_pos.htm?act=help_kunag&sap-params=d2FfaGVhZGVyLWF1YXJ0PVpPUyZ3YV9oZWFkZXItdmtvcmc9WlZFSSZ3YV9oZWFkZXItdnR3ZWc9R1Mmd2FfaGVhZGVyLXNwYXJ0PTAwJndhX2hlYWRlci1rdW5ucj0md2FfaGVhZGVyLWt1bndlPQ==';
}
</script>
Ho provato ad eliminare una input field e prende l'enter, non riesco proprio a capire.