当前位置: 代码迷 >> ASP >> ASP.NET MVC4 Jquer 日期控件 测试实例
  详细解决方案

ASP.NET MVC4 Jquer 日期控件 测试实例

热度:866   发布时间:2013-10-16 11:29:46.0
ASP.NET MVC4 Jquer 日期控件 测试范例
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
$(function() {
$( "#cxp" ).datepicker();
});
</script>
</head>
<body>
<p>Date: <input type="text" id="cxp" /></p>
</body>
</html>
 

新建文本文档,将代码拷贝进去,然后修改文本文档的后缀名 .txt 改为 .html 预览即可运行

上面路径引用官方路径