javascript - How can I send a data to an iframe from main page when I working another iframe? -


this question has answer here:

i have question data transfer on iframes can seen in picture below

http://img703.imageshack.us/img703/143/qcvf.jpg

my main page has 2 iframe. how can send data textbox iframe_b main page when working iframe_a?

thanks.

you can try set iframe's src hash, , detect hashchange within iframe. $(window) bind hashchange how check part hash changed?

if want set data iframe in script directly, remember, not sure, if src of iframe different host, cannot, security reason.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -