1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>Page mere</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script type="text/javascript">
var novoForm = window.open("https://www.monsite.com/page.php", "wFormx", "width=800,height=600,location=no,menubar=no,status=no,titilebar=no,resizable=no,");
if (novoForm == null)
alert("novoForm nul");
else{
novoForm.onload = function(){
alert("Ce message ne devrait-il pas apparaitre ??") ;
novoForm.alert("et ce message, ne devrait-il pas apparaitre ??") ;
}
//alert("on a passé le onload");
}
</script>
</body>
</html> |
Partager