windows
Hi,
I dont think you can do this but maybe there is a way.
I have a windows which has the name "edit."
This one opens another window which is a kind of selection menu. OnClick of a link it should change the value in a form of the window by which it was created and change a picture source in the same window.
parent.edit seems to be undefined so what could be the way to access that window?
Malte
Vincent Puglia posted this at 21:58 — 21st February 2000.
They have: 634 posts
Joined: Dec 1999
Hi Malte,
I'm a little confused. You imply using frames (parent.edit), but say "edit" is the "window's" name. At any rate, if edit opens a window, you should be able to use:
opener.document.formname.fieldname.value = 'new value';
and:
opener.document.imagename.src = "new.gif";
Vinny GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Malte posted this at 15:46 — 22nd February 2000.
They have: 297 posts
Joined: Apr 1999
Works perfectly.
THANK YOU!!!
Looks like my JavaScript documentation missed that object. Instead it created the impressions that parent or top would be super object to all windows, either frames or windows.
Thanx,
Malte
Vincent Puglia posted this at 01:12 — 23rd February 2000.
They have: 634 posts
Joined: Dec 1999
Hi Malte,
You're welcome. Don't you just love documentation?
Vinny GrassBlade: cut&paste
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.