javascript - IE 11 iframe redirect without history (back button) -


i have iframe use display pdf files. ui application on dev.domain.com location, while pdf files hosted on devapi.domain.com. main issue want able change pdf file being viewed, don't want browser button influence content of iframe. in google chrome, works wonderfully:

$('#preview-frame')[0].contentwindow.location.replace(url); 

i when need change pdf, , , good. in ie11, however, access denied errors when running above change pdfs. suggestions on how change content of iframe without influencing button behavior on major browsers?


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -