Click to See Complete Forum and Search --> : Pass value between pages


Tea.Cup
06-01-2003, 07:49 AM
I would like to open a page with a link and pass a value to it.

If the value is 'x' then it must to one thing, 'y' another, the same with 'y' else nothing passed.

Things like display a table, redirect a page etc

Nevermore
06-01-2003, 07:52 AM
Unless you want to put the variable into a form, you need to send them along with the URL. This means that your links will have to be dynamic, i.e. updated with JavaScript. Is that alright?

khalidali63
06-01-2003, 07:58 AM
if you want to open a link in a new window that is the new window is a child of the parent then you can pass values directly to and from parent window...and if you are passing values to a URL without knowing about its window reference then you can use URL and apend value at the end of the URL.

Tea.Cup
06-02-2003, 03:52 PM
I want to pass a string from the menu to a child page - if the string is wrong it must load a different page

and JavaScript is OK