"This page is accessing information that is not under its control. This poses a security risk. Doyou want to continue."
Let me first say, my feedback page and thank you pages are in the same domain.
my webservice.htc file is in the same diectory as my feedback.jsp page.
I am using IE 6 (my companiy is IE specific)
If i click OK, all code and everything works as expected. I am just tryingto eliminate the annoying IE message.
Here is my script code...
Expand|Select|Wrap|Line Numbers
- function onFeedback ()
- {
- //Get WS call ready
- webServiceCallerBody.useService ("http://<server>/CFE_SW/sw_api.asmx?WSDL","ehro");
- var Priority = document.form1.Priority.options[document.form1.Priority.selectedIndex].text;
- var theDate = document.form1.theDate.value;
- var ID = document.form1.EDSNet.value;
- var Name = document.form1.Name.value;
- var Email =document.form1.Email.value;
- var Purpose = document.form1.Purpose.options[document.form1.Purpose.selectedIndex].text;
- var Comments = document.form1.feedback.value;
- var c = "Priority: " + document.form1.Priority.options[document.form1.Priority.selectedIndex].text+ "\n";
- c = c + "Effective Date: " + document.form1.theDate.value + "\n";
- c = c + "ID: " + document.form1.ID.value + "\n";
- c = c + "Name: " + document.form1.Name.value + "\n";
- c = c + "Email: " + document.form1.Email.value + "\n";
- c = c + "Purpose: " + document.form1.Purpose.options[document.form1.Purpose.selectedIndex].text + "\n";
- c = c + "Comments/Suggestions: " + document.form1.feedback.value+ "\n";
- var To = "feedback@ADS.com";
- // var To = "KnowledgeManagement@ads.com";
- //var feedme = document.form1.feedback.value ;
- var CID = "<%=cptDet.id%>";
- //call webservice
- iCallID = webServiceCallerBody.ehro.callService("sendEmail",Priority,theDate,ID,Name,Email,To,Purpose,Comments, CID );
- document.form1.feedback.value = c;
- document.form1.target = "_self";
- document.form1.action="ne?lnk=frmRight.FeedbackSave&cid=<%=cptDet.id%>";
- document.form1.method="post";
- document.form1.submit();
- document.form1.target = "_blank";
- document.form1.action="http://<server>/swe_static/ADS_KME/ThankYou.aspx?Priority=" + Priority + "&theDate=" +theDate+ "&EDSNet=" +EDSNet+ "&Name=" +Name+ "&Email=" +Email+ "&To=" +To+ "&Purpose=" +Purpose+ "&text= " +Comments+ "&CID=" +CID;
- //alert(document.form1.action);
- document.form1.method="post";
- document.form1.submit();
Any ideas or thoughts are appreciated.
Thanks in advance.