in reply to Re^6: send windowmessage from cgi back to form that called the cgi
in thread send windowmessage from cgi back to form that called the cgi

The onload is placed into the html that is returned by the cgi code code run when you pres s the button

User clicks on button to do some processing.

doesnt that call a cgi script? that does the processing? It would be rather strange for the javascript to call a process that runs on the users machine rather then on the server where the database lives

When a routine finishes

Doesnt routine that send back html to the iframe? it is in that html that the onload runs

  • Comment on Re^7: send windowmessage from cgi back to form that called the cgi

Replies are listed 'Best First'.
Re^8: send windowmessage from cgi back to form that called the cgi
by tultalk (Monk) on Mar 14, 2017 at 20:01 UTC

    Doesnt routine that send back html to the iframe? it is in that html that the onload runs

    What you are sayimg or asking is not clear to me

    When the routine in the script finishes, it has the response information in variables. When the cgi is interrogated for the response, it creates an html form which includes the response and sends it back to be displayed in the iframe.

    Gad it takes me time to work out the bugs in this stuff.

      What response does the cgi program give to a request to update the database. After the update routine has finished does it send a re-direct back to jala_AdminCore.htm ?

      poj

        It used to send back a full size blank page back with "complete" or some such at the upper left. Very ugly.

        Want a nice message in the ifram on the form which made the request.

        if the process fails, send that message also,