tultalk has asked for the wisdom of the Perl Monks concerning the following question:
Hi:
First, I have problem deciding what say in search to find stuff. Nor very successful using the search here.Usually google then look at the monks results.
In code preceding that below, I do this and that producing a result I send back to an iFrame on the calling form.
I have function (cgi call )on that form to load the result into the iFrame. Works fine when I click the button to call the function.
I have listener on the calling form and i want to execute the call to get the result into the iFrame from a windows message posted from the cgi script (below) after the messages are ready.
Don't know how to address the form. I don't think it is the window.parent of the cgi script. Help.
Best regards
window.parent.postMessage({ 'func': 'GetFileLoadStatus', 'message': 'Message text from iframe.' }, "*"); if ($action eq "updatereport"){ warn("In updatereport before CreateDataFeedbackForm"); CreateDataFeedbackForm($message, $filemessage); }
|
|---|