javascript - Access response headers of new redirected URL using document.location.href -
i have created iframe like:
document.body.insertadjacenthtml("beforeend", '<iframe src="' + geteservicecontext() + '/web/blank.htm" style="width:20%; height:20%;" role="presentation" name=' + 'testframe' + 'id=' + 'testframe'+ 'frameborder=1 scrolling=yes></iframe> ');
now assigning new url iframe like:
document.frames['testframe'].location = url (any http url);
is possible access response headers returned part of accessing above url?
wiki
Comments
Post a Comment