We are using IE 5.0 on Mac. 

Below is the code for a very simple form. In the form, we call a popup 
by clicking on a button using the onClick method. The function then 
sets the action and target and .submits our form to the new popup.

This works fine, except for one thing: if I click on any text, select list, 
or other form elements, the popup appears and we submit again. 
The strangest fact is that I can click on standard text and the popup 
appears! This does not happen on a PC and only on a Mac. 

We have determined that the problem exists when we change the .action within

the function, but we are not sure if this is a bug or if there is a 
workaround. 

Any help or insights would be greatly appreciated. 

Thanks in advance, 
Brock Busby 

------------------- 

<HTML> 
<HEAD> 
<SCRIPT LANGUAGE="JavaScript"> 
        document.domain = "ziffdavis.com"; //this is required on our system 
        
        function fnImgPopUp() { 
                var win2 = window.open
('','win2','width=650,height=650,scrollbars=yes,resizable=yes'); 
 
document.forms[0].action='/zd/cma/popup/image/1,,filter,00.html'; 
                document.forms[0].target='win2'; 
                document.forms[0].submit(); 
        } 
</SCRIPT> 
</HEAD> 
<BODY> 
<FORM action="/zd/cma/popup/image/1,,filter,00.html" method="post"> 
        Image&nbsp;<INPUT type="text" size="40" maxlength="100" value="" 
readonly>&nbsp;&nbsp;<INPUT type="button" value="Add/Edit" 
onClick="fnImgPopUp()"> 
</FORM> 
</BODY> 
</HTML>

-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to