Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-26-2009, 04:41 PM   PM User | #1
glen_25
New to the CF scene

 
Join Date: Feb 2009
Posts: 4
Thanks: 4
Thanked 0 Times in 0 Posts
glen_25 is an unknown quantity at this point
displaying a value in javascript

Hi,
I have a question in javascript, that is, is it possible to display a value of an variable in another html page when a button is clicked?

For example, i set a value in page_1. html as abc=5 and when a button is clicked the value of abc should be displayed in page_2.html

thanks
Glen
glen_25 is offline   Reply With Quote
Old 03-26-2009, 04:43 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
See:-

http://www.javascriptkit.com/javatutors/send1.shtml

or you could set a cookie.



All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
Philip M is offline   Reply With Quote
Users who have thanked Philip M for this post:
glen_25 (03-27-2009)
Reply

Bookmarks

Tags
display, variable

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:46 PM.


Advertisement
Log in to turn off these ads.