M
Math
Hi,
I have a main HTML page who opens diferrent popup windows, each of them with
a specific ID.
Now my needs are to refresh the content of only one of them at onClick event
on main page.
The function used to open popup is:
function showImagePopUp(pURL, idFoto){
var id = 'popup_'+idFoto;
var popW = 830, popH = 700;
var winl = (screen.width-popW)/2;
var wint = (screen.height-popH)/2;
popup_win = window.open(pURL, id,
'status=no,resizable=1,scrollbars=1,width=' + popW + ',height=' + popH +
',top=' + wint + ',left=' + winl);
}
My question is: how can i get the correct window object to apply the reload
method?
Greetings and thanks for any suggestion.
-f
I have a main HTML page who opens diferrent popup windows, each of them with
a specific ID.
Now my needs are to refresh the content of only one of them at onClick event
on main page.
The function used to open popup is:
function showImagePopUp(pURL, idFoto){
var id = 'popup_'+idFoto;
var popW = 830, popH = 700;
var winl = (screen.width-popW)/2;
var wint = (screen.height-popH)/2;
popup_win = window.open(pURL, id,
'status=no,resizable=1,scrollbars=1,width=' + popW + ',height=' + popH +
',top=' + wint + ',left=' + winl);
}
My question is: how can i get the correct window object to apply the reload
method?
Greetings and thanks for any suggestion.
-f