script.js
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:1k
- var popUp;
- function OpenCalendar(idname, postBack)
- {
- popUp = window.open('Calendar.aspx?formname=' + document.forms[0].name +
- '&id=' + idname + '&selected=' + document.forms[0].elements[idname].value + '&postBack=' + postBack,
- 'popupcal',
- 'width=185,height=220,left=200,top=250');
- }
- function SetDate(formName, id, newDate, postBack)
- {
- eval('var theform = document.' + formName + ';');
- popUp.close();
- theform.elements[id].value = newDate;
- if (postBack)
- __doPostBack(id,'');
- }