I have an index page default.aspx at following URL say http://myappdomain/ with the following code:
<iframe id="Frame1" src="/virtualdirectory"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms" >
and at the following URL "http://myappdomain/virtualdirectory" I have my main application with pages making ajax calls (doing post say $.post) etc. The issue I am having is that the pages which are opened inside iframe present on http://myappdomain/default.aspx can't POST data via ajax calls to the server in IE10, I can do the same in FF and Chrome. Is this a known issue or what? I tried removing this line too from iframe " sandbox="allow-same-origin allow-scripts allow-popups allow-forms" but no success, I can't do ajax calls to server inside the pages coming in iframe. Note: I am already having the same domains. I also read the following link "IFRAME sandbox attribute is blocking AJAX calls" http://stackoverflow.com/questions/14486461/iframe-sandbox-attribute-is-blocking-ajax-calls but I didn't get the pointers to fix my issue. Is there any setting in IE10 browser which I have to enable to make the ajax calls working?
EDIT: I have tested the same stuff in IE8, IE9 and Safari too and it is working. So this issue exists in IE10 only. I just want to add one more thing here I tested all the cases in IE with "Standard mode" i.e no Compatibility or Quirks mode. For all the cases my OS was Windows 7.