开发者社区> 问答> 正文

关于 my97datepicker 日期插件的使用问题?报错

很简单的一个小demo老是报错,出不来效果,大家帮我看看那里出了问题!谢谢1.

目录结构


jsp 代码

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<script type="text/javascript" src="<%=basePath%>My97DatePicker/WdatePicker.js"></script>
  </head>
  <body>
    <form action="#" method="post"> 
      <input id="sdate" class="Wdate" onFocus="WdatePicker({lang:'zh-cn'})" />       
   </form>
  </body> 
</html>



浏览器中 文本框没有一点儿效果



展开
收起
爱吃鱼的程序员 2020-06-09 13:14:42 556 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
    <inputid="d11"type="text"onClick="WdatePicker()"/>



    不是他的事儿..
    2020-06-09 13:15:00
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载