copy down does not work with netscape 4.74 
Author Message
 copy down does not work with netscape 4.74

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;

Quote:
}

// --></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>



Sat, 01 Feb 2003 13:19:24 GMT  
 copy down does not work with netscape 4.74
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


Quote:
> 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>



Sun, 02 Feb 2003 03:16:18 GMT  
 copy down does not work with netscape 4.74

Quote:

> 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>

<FORM name=inp onsubmit="return vForm(this.tt.value)">
<INPUT type=text name=tt>

"this" referrs to the current form object, which has a property named "tt".

--
Thor Larholm



Sun, 02 Feb 2003 09:39:32 GMT  
 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>



Sun, 02 Feb 2003 13:30:46 GMT  
 copy down does not work with netscape 4.74

Thanks Thor

But it appears I don't need "this" to be included.

or am I missing something ?

--
Tom


Quote:


> > 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>

> <FORM name=inp onsubmit="return vForm(this.tt.value)">
> <INPUT type=text name=tt>

> "this" referrs to the current form object, which has a property named
"tt".

> --
> Thor Larholm



Sun, 02 Feb 2003 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. copy down not working

2. Drop down list does not work in Netscape

3. Why doe the BLUR not work in IE ???

4. Drop-down selection not working - help!

5. Drop-down menu works with IE, but not Navigator

6. shut down IE5 in script, not working

7. Drop-down selection not working - help!

8. Works with ie but not with Netscape...

9. Javascript that works in IE and not netscape ?

10. works in netscape but not IE

11. List all elements in a form Does not work in Netscape

12. Dropdown list does not work in Netscape

 

 
Powered by phpBB® Forum Software