Java Reference
In-Depth Information
<input type=”button” value=”Get Text” name=”btnGetText”
onclick=”btnGetText_onclick()” />
</form>
</body>
</html>
Save this as ch08_examp5_popup.htm .
Open ch08_examp5.htm in your browser, and you'll see a page with the simple form shown in
Figure 8-12.
Figure 8-12
Click the Open newWindow button, and you'll see the window shown in Figure 8-13 open above the
original page.
Figure 8-13
Search WWH ::




Custom Search