<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="javascript" type="text/javascript" src="staicjs/WdatePicker.js"></script>
<title>Insert title here</title>
</head>
<body>
 <input id="d121" type="text" onfocus="WdatePicker({isShowWeek:true})"/>
<input class="Wdate" type="text" id="d17" onfocus="WdatePicker({firstDayOfWeek:1})"/>
</body>
</html>js的地址:http://www.my97.net/dp/My97DatePicker/WdatePicker.jsm97日历控件的地址和演示文档:http://www.my97.net/dp/index.asp
我的是点击在input上面,没有弹出日历

解决方案 »

  1.   

    我帮你试了下,下面这段在我的环境下(IE8,FF3.6)是正常的 <input id="d121" type="text" onfocus="WdatePicker({isShowWeek:true})"/>
    <input class="Wdate" type="text" id="d17" onfocus="WdatePicker({firstDayOfWeek:1})"/>见议:检查一下WdatePicker.js文件路径,或者重新下载一个js库
      

  2.   

    再仔细查检一下DatePicker目录吧.
    我也遇到过这种问题,我是将My97DatePicker.htm删除掉了。建议不要动DatePicker文件夹下的东西。