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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -