The easiest way to do this is to use 'top' in your calls to page A
from page B.
For cross browser compatibility, the best way is to write a function
on page A to change the value of field X
(eg)
function pageAfieldX(myValue) { document.getElementById
("fieldX").value =myValue; }
Then call this function from page B using top:
top.pageAfieldX("somevalue");
That should do it for ya!
Tyler Style
Tyler Style
http://www.malthusian-solutions.com
http://www.nirdvana.com/blog-ts/
On Dec 26, 2:26 am, Swaroop <[email protected]> wrote:
> Hi all,
> When I display a GB window, I need to set a field value on the
> underlaying window. Ex. I have a field X in the page A, now I open a
> GB_window (page B), here I've a field Y.
> Under some circumstances, I need to set field X (page A)equal to field
> Y(page B).
> I tried to do this with window.opener.... or getEmelentById but I
> can't reach the element on page A from page B.
>
> Someone can help me ?
> Thanks All in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---