How to use Javascript window name in PHP?
Posted: Wed Aug 03, 2005 10:38 pm
Hi Everyone,
How can i use a Javascript window popup name in the PHP??
I have windowA, windowB and windowC in my application. When i close windowA, i want windowB to refresh and windowC to be close too. can i do that with PHP or need to adding in the javascript??
Anyone got any IDEAS with this?? Thanks
Here is my code:
This is the open popup window script that i use in the window.js
(I use dynamic window name that pass in from windowA, different window have different name)
function child_window(mylink, windowname, winfeatures)
{
var mywin, href;
href = mylink.href;
mywin = window.open(mylink, windowname, winfeatures);
}
How can i use a Javascript window popup name in the PHP??
I have windowA, windowB and windowC in my application. When i close windowA, i want windowB to refresh and windowC to be close too. can i do that with PHP or need to adding in the javascript??
Anyone got any IDEAS with this?? Thanks
Here is my code:
This is the open popup window script that i use in the window.js
(I use dynamic window name that pass in from windowA, different window have different name)
function child_window(mylink, windowname, winfeatures)
{
var mywin, href;
href = mylink.href;
mywin = window.open(mylink, windowname, winfeatures);
}