title: SCRIPT5: Access is denied in IE9 for iframe on the same domain
body: <p>i am trying to submit form with file attached using iframe(through AJAX). I am using rails &amp; remotipart gem. actually i've tried jquery.form.js library as well, but no luck. when i submit form i am getting "SCRIPT5: access denied" only in IE9 and when i am redirected to the page from my gmail account. It works fine when i go to my site and submit form with file attached, but doesn't work when i go to site through the link from gmail(for other emails it works). i checked how it works - it create hidden iframe set form.target= iframe.name(name of iframe) &amp; iframe.src=javascript:false; When form is submitted it throw exception = "SCRIPT5: access denied". I've tried to set iframe.domain = domain of my site but didn't work - iframe = $("");
  btw, i am submitting form to the same domain</p>
  
  <p>Anyone solved this issue ?</p>