19 lines
609 B
HTML
19 lines
609 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>CasperJS test popup</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<a class="openpopup" href="#" onclick="javascript: window.open('close.html', 'close'); return false;">new popup</a>
|
||
|
<script>
|
||
|
//var onclick=function(){
|
||
|
//alert("1");
|
||
|
//window.open("http://localhost:54321/tests/site/close.html");
|
||
|
//window.open("close.html", 'close');
|
||
|
// return false;
|
||
|
//}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|