CD-388 Part VI (Web design templates) . Appendixes Notice that except
CD-388 Part VI . Appendixes Notice that except for NN2, you can easily modify Listing 18-17 to write the results to the same frame as the document containing the field and buttons. Instead of specifying the lower frame parent.frames[1].document.open() parent.frames[1].document.write(msg) parent.frames[1].document.close() the code simply can use document.open() document.write(msg) document.close() This code would replace the form document with the results and not require any frames in the first place. Because the code assembles all of the content for the new document into one variable value, that data survive the one document.write() method. The frameset document (Listing 18-18) creates a blank frame by loading a blank document (Listing 18-18). An alternative I highly recommend is to have the framesetting document fill the frame with a blank document of its own creation. See Blank Frames in Chapter 16 for further details about this technique for NN3+ and IE3+. Event Handlers onStop NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example Listing 18-19 provides a simple example of an intentional infinitely looping script. In case you load this page into a browser other than IE5, you can click the Halt Counter button to stop the looping. The Halt Counter button as well as the onStop event handler invoke the same function. document.onStop
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.