
copy down does not work with netscape 4.74
I found the problem
All the javascript functions needed to have the comment marks
eg
<script language="JavaScript">
function vForm( xx ){
document.form1.input1.value = xx;
document.form2.input2.value = xx;
document.form3.input3.value = xx;
return false;
Quote:
}
</SCRIPT>
DOES NOT WORK :-(
<script language="JavaScript">
<!--
function vForm( xx ){
document.form1.input1.value = xx;
document.form2.input2.value = xx;
document.form3.input3.value = xx;
return false;
Quote:
}
// -->
</SCRIPT>
DOES WORK :-)
-------------------------------------
Tom
Quote:
> Sorry
> I have just upgraded to 4.74 and the code I posted does in fact work.
> It must be an error elsewhere on the page.
> --
> Tom
> > Hi
> > I have the equivalent of the following on a web page, which copies the
> > contents of the first text box to the other text boxes.
> > I have just been informed by a visitor that is no longer works with
> Netscape
> > 4.74, but it used to when he had NS 4.73
> > Can anyone see what the problem could be please.
> > Thanks
> > Tom
> > <FORM name=inp onsubmit="return vForm(tt.value)">
> > <INPUT type=text name=tt>
> > <INPUT type=submit value="Copy-All">
> > </FORM>
> > <script language="JavaScript">
> > <!--
> > function vForm( xx ){
> > document.form1.input1.value = xx;
> > document.form2.input2.value = xx;
> > document.form3.input3.value = xx;
> > return false;
> > }
> > // --></SCRIPT>
> > <FORM name=form1 onsubmit="return vForm(tt.value)">
> > <INPUT type=text name=input1></FORM>
> > <FORM name=form2 onsubmit="return vForm(tt.value)">
> > <INPUT type=text name=input2></FORM>
> > <FORM name=form3 onsubmit="return vForm(tt.value)">
> > <INPUT type=text name=input3></FORM>