Click to See Complete Forum and Search --> : Refresh Another Window


beginner
05-01-2003, 10:28 PM
How to refresh another window from a window that pop up from it?

beginner
05-01-2003, 10:49 PM
I've tried to put script from the second windows that caome from first window to refresh it as



<SCRIPT FOR=window LANGUAGE="JScript">
window.alert("Test Process!!");
top.opener.location.reload(true);
window.close();
</script>


but this error massage appear:
Class doesn't support automation

beginner
05-02-2003, 12:36 AM
Thanks 4 u reply, but I'm still having problem as there is an error massage :Class doesn't support Automation.

Is it because the frame because the detail case is we have window1 which contains 02 frames : frameA and frameB.
frameB call pop up window-->window2. Now I running the script process that will close window2 when finish. Before it close I want to refresh the frameB in window1 automatically so it will display the up-date data.

Is it possible ?

petrocan
05-02-2003, 09:36 AM
error massage :Class doesn't support Automation.


I believe you can get the fix for this from the Microsoft website.

The file is MDAC 2.6 or 2.7...I believe its a Microsoft Data Access blah blah blah...

I would suggest searching for a MDAC fix at Microsoft.

Sorry for the sketchy details but I had a similiar problem a while back and can't remember the exact names, but definitely MDAC.

beginner
05-04-2003, 08:42 PM
I'm sorry about post to the moderator but this problem still exsist even after i remove for=window