I would like to use this:
<SCRIPT TYPE="text/javascript">
<!--
function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}
//-->...
Oh sorry, did not notice that i missed it.
Anyway, it seems like it still doesn't work.
It does not go back to the mainwindow, but just stay in the popupwindow and follows the link.
Do you know why?
Hmm... I dont think it works...
This is my code to open the popup:
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname...
I have a popupwindow and i want to targeting the openerwindow with a form, beaucse i want to sent some information from inputs to another site. How to do? :/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.