passing a variable to a page via javascript

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
kendall
Forum Regular
Posts: 852
Joined: Tue Jul 30, 2002 10:21 am
Location: Trinidad, West Indies
Contact:

passing a variable to a page via javascript

Post by kendall »

Hello,

Can javascript pass a variable to a page?

How ?

can the history() have any use in this?

Kendall
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

yes

Code: Select all

document.location='your_page.php?id=yourvariable'
You need to give me more info, if YOU want more info.


Mark
User avatar
Vincent Puglia
Forum Commoner
Posts: 67
Joined: Thu Sep 04, 2003 4:20 pm
Location: where the World once stood

Post by Vincent Puglia »

Hi,


the following link may be more than you need:
WebXpertz Faq Thread It discusses sending and retrieving variables across html pages.

Vinny
Post Reply