topical media & game development

talk show tell print

professional-javascript-16-HiddenFrameExampleMain.htm / htm



  <html>
      <head>
          <title>Hidden Frame Example (Main)</title>
          <script type="text/javascript">
              function getServerInfo() {
                  parent.frames["hiddenFrame"].location.href = "HiddenFrameExampleCom.htm";
              }
          
              function handleResponse(sResponseText) {
                  alert("The server sent back this message: " + sResponseText);
              }
          </script>
      </head>
      <body>
          <p>Click the button to make a call to the server using a hidden frame.</p>
          <input type="button" onclick="getServerInfo()" value="Get Server info" />
      </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.