I have submitted the form in Onclick event using javascript in popup. But After Submitting the form the URL came without action class so my pop up is shown blank. I have mimic the form and javascript of form and JavaScript in the below for your reference.Can anyone help me. this issue is occurred only in IE 11 in windows 10. If I work with IE11 in windows 7 it works fine.I installed IE11 in my windows 10. checked in Edge faced same issue. SubmitFormC is triggered by click Event. Actually Its an search operation after I entered the text in search box. I clicked the search icon. From there my SubmitFormC method is called.
After submitting the form please find the url's in Windows10 and Windows7
(Win 10) -- URL : http://localhost:7001/sample/
(Win 7) -- URL : http://localhost:7001/sample/saveaction?typeID=123
Form
<form name="submitForm" action="/sample/saveaction.do" method="post">
JavaScript:
function SubmitFormC(Id) {
document.forms[0].action = "saveaction.do?typeID="+Id;
document.forms[0].submit();
}