Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Javascript problem | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Malow

Goomba

Level: 9

Posts: 22/25
EXP: 3055
For next: 107

Since: 03-15-04
From: Rock Forest, Qu�bec, Canada

Since last post: 145 days
Last activity: 11 hours
Posted on 03-18-05 12:21 AM Link | Quote
I am in page. Then I do a window.open. I select something in a list, and when I push "okay", I want to come back in the page before, reload the page, and close the pop up.

I can do everything, except that I don't know how I can say "do that" to another window. When it's in frames, there is no problem. But between 2 windows, how do you do that? if it's possible.

Thank you
labmaster

Blue Octorok
Level: 12

Posts: 31/43
EXP: 6135
For next: 1786

Since: 07-17-04
From: New Zealand!

Since last post: 10 days
Last activity: 2 min.
Posted on 03-18-05 10:32 AM Link | Quote
Try googling "Javascript remote control" - what you're trying to do sounds a bit like that.
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -2337/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 03-18-05 06:42 PM Link | Quote
Or, wouldn't it be possible to use window.parent to change the URL of that window?

(I'm not really a javascript person, but as soon as I read that window.parent hit me)
Malow

Goomba

Level: 9

Posts: 23/25
EXP: 3055
For next: 107

Since: 03-15-04
From: Rock Forest, Qu�bec, Canada

Since last post: 145 days
Last activity: 11 hours
Posted on 03-18-05 06:43 PM Link | Quote
I finally found on google, I didn't know what keywords to use.

It is extremely simple:

window.opener.location = "page.php";

=)

EDIT: Nop, window.parent doesn't work, hehe


(edited by Malow on 03-18-05 09:43 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Javascript problem | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.005 seconds.