⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html.bak

📁 javascript 的模式页面,不是非模式
💻 BAK
字号:
<html> 

<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<title>庡奅柺</title> 
</head> 

<body> 
<form id="getForm">    夞??丗<input type="text" id="getData" readOnly> <input type="text" id="getData1" readOnly> 

</form> 
<input type="button" value="懪?怴鈞岥1" onClick="openWin1()"> 
<input type="button" value="懪?怴鈞岥2" onClick="openWin2()"> 
<script language="JavaScript">    
function openWin1()    
{        
  var srcFile = "BB.htm";    //怴鈞岥揑暥瀮柤徧        
  var winFeatures = "dialogHeight:300px; dialogLeft:200px;";        
  var obj = getForm;  //彨form嶌??徾???怴鈞岥               
  window.showModalDialog(srcFile, obj, winFeatures);    
} 
function openWin2()    
{        
  var srcFile = "CC.htm";    //怴鈞岥揑暥瀮柤徧        
  var winFeatures = "dialogHeight:300px; dialogLeft:200px;";        
  var obj = getForm.getData.value;  //彨form嶌??徾???怴鈞岥               
  var str=window.showModalDialog(srcFile, obj, winFeatures);    
  if(str!=null) 
     document.getForm.getData.value = str; 
} 

</script> 

</body>

</html> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -