js pass variable from iframe to parent window 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);