popdate.js

来自「javascript 实现弹出式日期选择框 。」· JavaScript 代码 · 共 12 行

JS
12
字号
function selectdate(o)
{
	var timestring = showModalDialog("selectdate.htm", "", "dialogLeft:"+(event.screenX-13)+";dialogTop:"+(event.screenY-15)+";dialogWidth:190px; dialogHeight:245px; edge:raised;help:off;status:on;scroll:off");
	if(timestring!="" && timestring!="null")
	{
		o.value = timestring;
	}
	if(timestring=="null")
	{
		o.value = "";
	}
}

⌨️ 快捷键说明

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