Pass data to iframe from parent code example
Example 1: js pass variable from iframe to parent window
function zipPhoneCallback(zipphone) {
((console&&console.log)||alert)("zipphone = " + zipphone);
}
Example 2: js pass variable from iframe to parent window
window.parent.zipPhoneCallback(zipphone);