I am working in chrome v. 12.
I have a jquery call which creates an iframe
$(document).ready(function(){
$(\'\').appendTo(\'body\').
If you are setting the target
attribute of form statically (i.e. while creating form itself and) and setting it to an iframe
, then the response is opened in a new tab/window.
While if you set the target
attribute dynamically just before submitting the form using javascript/jQuery, the response is received within the same window into targeted iframe
.