第一步:将如下内容存为Calendar.js document.write( " <div id=meizzCalendarLayer style='position: absolute; z-index: 9999; width: 144; height: 193; display: none'> " ); document.write( " <iframe name=meizzCalendarIframe scrolling=no frameborder=0 width=100% height=100%></iframe></div> " ); function writeIframe() 第二步:新增一个页面TestCalendar.htm,内容如下: <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > < html > < head > < meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" > < title > 日期控件 </ title > 相关文章: