Connecting Tech Pros Worldwide Help | Site Map

Run function i different window on IE MAC

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 10:43 AM
Andreas Folkesson
Guest
 
Posts: n/a
Default Run function i different window on IE MAC

Hi!

We have developed an application where a popup window returns
information to the opener window by calling a function. This is the
function on the pop-up window:

function AddArchiveToOrder(archive_id, order_id)
{
window.parent.opener.AddArchiveToOrder(order_id,ar chive_id);
window.parent.close();
}


And on the opener window the functions that opens the pop-up is like
this:
function OpenMediaAssetBank(url,order_id)
{
AppURL = url + '?order_id=' + order_id;
window.open(AppURL,'_submab',"toolbar=no,scrollbar s=yes,height=540,width=800,left=156,top=192,resiza ble=yes,status=no");
}

....and the function called from the pop-up:
function AddArchiveToOrder(order_id,archive_id)
{
nPos = document.forms[0].action.indexOf('?');
document.forms[0].action = document.forms[0].action.substr(0,nPos) +
'?archive_id='+archive_id;
document.forms[0].submit();
}

The pop-up and the opener window are in the same domain, and this
works fine on IE/windows. On the mac however, the AddArchiveToOrder
function on the pop-up window won't run. Does anybody have an idea
about what the problem is?

regards
Andreas Folkesson

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.