javascript - Call iframe function in parent window -


how can call iframe function in parent window, did below not seems working in firefox. same code working in chrome.

window.frames["original_preview_iframe"].window.exportandview(img_id); 

i think have use

document.getelementbyid('target_frame').contentwindow.callingtargetfunction();

otherwise use url describes solution problem

invoking javascript code in iframe parent page


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -