Hi all,
I am having a big trouble with Netscape. My Code works fine with I Explorer but It doesn't want to submit my code in Netscape. Do U have any idea?
Thanks for your help.
Here is my code:
<html>
<head>
<LINK href="include/StyleCof.css" REL="stylesheet" Type="text/css" TITLE="StyleCof">
<script language="JavaScript1.2" src="include/navigation.js"></script>
<script>
function clickValider()
{ var var1=document.formulaire.choix.value.toUpperCase();
if (var1!="V" && var1!="P" && var1!="B"
{
document.formulaire.choix.focus();
document.formulaire.choix.select();
alert("Veuillez saisir P,V ou B."
return;
}else{document.formulaire.submit();}
}
</script>
</head>
<body onload="chargement('popup');" style="background-image:url(images/bgPopUp.gif);background-repeat:no-repeat">
<!-- Début : Tableau -->
<table cellspacing="0" cellpadding="0" border="0">
<form name="formulaire" method="post" action="Z4L2P13-1.html">
<tr>
<td>
<table cellpadding="0" border="0">
<tr>
<td colspan=2 valign=top class="TextePopUp">
<table align="center" height="29">
<tr>
<td class="TextePopUp" height="48"><b>Votre choix :</b> </td>
<td height="48">
<input type="text" name="choix" size="1" maxlength="1">
</td>
</table>
</td>
</tr>
<tr>
<td colspan=2 valign=top class="TextePopUp" height="29">
<div align="center"><a href="javascript:clickValider()">Valider</a></div>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</body>
</html>
I am having a big trouble with Netscape. My Code works fine with I Explorer but It doesn't want to submit my code in Netscape. Do U have any idea?
Thanks for your help.
Here is my code:
<html>
<head>
<LINK href="include/StyleCof.css" REL="stylesheet" Type="text/css" TITLE="StyleCof">
<script language="JavaScript1.2" src="include/navigation.js"></script>
<script>
function clickValider()
{ var var1=document.formulaire.choix.value.toUpperCase();
if (var1!="V" && var1!="P" && var1!="B"
{
document.formulaire.choix.focus();
document.formulaire.choix.select();
alert("Veuillez saisir P,V ou B."
return;
}else{document.formulaire.submit();}
}
</script>
</head>
<body onload="chargement('popup');" style="background-image:url(images/bgPopUp.gif);background-repeat:no-repeat">
<!-- Début : Tableau -->
<table cellspacing="0" cellpadding="0" border="0">
<form name="formulaire" method="post" action="Z4L2P13-1.html">
<tr>
<td>
<table cellpadding="0" border="0">
<tr>
<td colspan=2 valign=top class="TextePopUp">
<table align="center" height="29">
<tr>
<td class="TextePopUp" height="48"><b>Votre choix :</b> </td>
<td height="48">
<input type="text" name="choix" size="1" maxlength="1">
</td>
</table>
</td>
</tr>
<tr>
<td colspan=2 valign=top class="TextePopUp" height="29">
<div align="center"><a href="javascript:clickValider()">Valider</a></div>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</body>
</html>