Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: RE: Javascript problem


Message #1 by google s <googlesxyz@y...> on Mon, 9 Apr 2001 20:10:45 -0700 (PDT)
thinking around your code, i chose this function:

<!--
function check(){

   
   if(document.choix.date.value.length==2){document.choix.date.value = 
document.choix.date.value+"/";}
   
   if(document.choix.date.value.length==5 ){document.choix.date.value = 
document.choix.date.value+"/";}
}
-->
</script>

</head>
<body>
<form name="choix">
<input type="text" name="date" size="9" value="" maxlength="10" 
onkeypress="check()">


thanks...

  Return to Index