There are 2 pages. When a user clicks SAVE button on first page it brings up second page and changes some attributes on that (second) page. How can I do that?
@ck_net_2004Jun 30.2005 — #You could pass a variable from one page to another through the URL.
for example:
on page one: [code=php] function pass_a_var(){ var a="dothis" window.location.href='page2.htm?passvar='+a+';'; } [/code] on page 2: [code=php] function get_a_var(){ var a = window.location.toString(); if(a.indexOf("?")>=0){ var a=a.substring(a.indexOf("=") + 1, a.indexOf(";")); alert(a); } } [/code]
@thisObjectauthorJul 05.2005 — #what does this return? top.frames["frameName"]. Does it return a page? So if I have an html or xml page it just returns it and then I can do someting like: