window.close()不提示

< html >
< head >
< script  type = "text/javascript" >
     function a() {
         window.open('', '_parent', '');
         window.close();  
     }
script >
head >
< body >
< input   type = "button"  value = "关闭"  onclick = "a()" />
 
body >
html >

你可能感兴趣的:(js,jquery,ajax)