troubleshooting Question

IE 11 issue form getting submitted twice

Avatar of Devildib
Devildib asked on
5 Comments2 Solutions1740 ViewsLast Modified:
Hi Experts, I am working on a website written in  classic asp and .net.
There is a particular code snippet which needed a change.The flow is from a modaldialog popup which is an .asp page to another intermediate(without UI) .asp page for this change.No, aspx involved. AFter the change, on debugging via F12 developer tools, I see that for some reason, on IE button click, the code snippet fires twice while on firefox all is good.There is a single post seen for firefox.Below is my code snippet :Please Help.

if (window.opener== null)      {      
                                    window.dialogArguments.form1.action = "/includes/test.asp?page=somedotnetpage&id="+window.dialogArguments.form1.HidclientID.value;
                                    window.dialogArguments.form1.PIN.value =;
                        else {                                          
                                  window.opener.document.getElementById("form1").action = "/includes/test.asp?page=somedotnetpage&id="+opener.document.getElementById("HidclientID").value;
                                window.opener.document.getElementById("PIN").value = document.getElementById('pin').value;

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros