Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: getting the same value..


Message #1 by "Natividad Castro" <natocastro@h...> on Fri, 19 Apr 2002 15:10:17 -0400
Try this out, putting it in the <head> of your page:
 
<script language="javascript">
    location.replace('http://www.site.com/pagename.html');
</script>

-----Original Message-----
From: Natividad Castro [mailto:natocastro@h...]
Sent: Tuesday, April 23, 2002 6:23 PM
To: javascript
Subject: [javascript] RE: getting the same value..



Thank you John

I have another question. How can I stop users from going back to the
previous page?

I tried the window.location.replace("pagename.html"); but it doesn't work.
Probably, I putting the code in the wrong place.

Could you please help me?

Thanks in advanced

Nato



>From: "Boloian, John" 
>Reply-To: "javascript" 
>To: "javascript" 
>Subject: [javascript] RE: getting the same value.. 
>Date: Fri, 19 Apr 2002 15:45:51 -0400 
> 
>Nato, 
> 
>It is possible using the following code (using the OnPropertyChange 
>event)... One caveat is that this will only work with Internet Explorer: 
> 
> 
>>onPropertyChange="document.form1.text2.value=this.value"> 
> 
> 
> 
>Hope it helps. 
> 
>-----Original Message----- 
>From: Natividad Castro [mailto:natocastro@h...] 
>Sent: Friday, April 19, 2002 3:10 PM 
>To: javascript 
>Subject: [javascript] getting the same value.. 
> 
> 
>Hi to all, 
>I have two text boxes where I want to get the same value for both as soon
as 
>the user starts typing in textbox one I would like to get the same value in

>text two simultaneusly. 
>Is it possible to this in JavaScript? 
> 
>Any help is greatly appreciate.. 
>Thanks in advanced 
>Nato. 
> 
> _____ 
> 
>Join the world's largest e-mail service with MSN Hotmail. Click Here 
> 
>--- Improve your web design skills with these new books from Glasshaus. 
>Usable Web Menus 
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
>r-20 Constructing Accessible Web Sites 
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
>r-20 Practical JavaScript for the Usable Web 
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
>r-20 --- 
> 
> 
> 
>--- 
> 
>Improve your web design skills with these new books from Glasshaus. 
> 
>Usable Web Menus 
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
>r-20 
>Constructing Accessible Web Sites 
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
>r-20 
>Practical JavaScript for the Usable Web 
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
>r-20 
>--- 

  _____  

Join the world's largest e-mail service with MSN Hotmail. Click Here
<http://g.msn.com/1HM105401/47> 
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 --- 


  Return to Index