2016-06-25 02:45:33 -07:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h1>window.open() test</h1>
|
|
|
|
<p>
|
|
|
|
<input type="button" value="window.open()" onclick="open_window()">
|
|
|
|
</p>
|
|
|
|
<script>
|
|
|
|
function open_window() {
|
|
|
|
window.open('./test.html');
|
|
|
|
}
|
2016-08-20 13:34:09 -07:00
|
|
|
|
2016-06-25 02:45:33 -07:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
|
2016-08-20 13:34:09 -07:00
|
|
|
</html>
|