📄 index.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>日期选择示例</title>
</head>
<script language="JavaScript">
<!--
function popup(test){
var xx=event.clientX;
var yy=event.clientY;
test.value=window.showModalDialog("selectDate.htm","","dialogWidth:350px;dialogHeight:180px;dialogLeft:"+xx+"px;dialogTop:"+yy+"px;status:0;");
}
-->
</script>
<body>
请输入日期:
<input name="test" id="test" type="text" onClick="popup(this)">
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -