什么是dataPicker的参考库? [英] What's the reference library for the dataPicker?
本文介绍了什么是dataPicker的参考库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为jQuery datePicker加载了以下项目
I loaded the following items for a jQuery datePicker
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.0.2/jquery-ui.min.js" type="text/javascript"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.0.2/themes/ui-lightness/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/i18n/jquery-ui-i18n.min.js" type="text/javascript"></script>
<script src="../Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
<script src="../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
<script src="../Scripts/jquery.ui.core.js" type="text/javascript"></script>
<script src="../Scripts/jquery.ui.widget.js" type="text/javascript"></script>
<link href="../Content/themes/base/jquery.ui.base.css" rel="stylesheet" type="text/css" />
单击文本框时会弹出datePicker对话框。但它完全透明,没有框架。我想我错过了一个脚本/ CSS参考。缺少哪一个?感谢您的回复。
The datePicker dialog box pops up when I click the textbox. But it is totally transparent and has not frame. I guess I miss a script/css reference. Which one is missing? Appreciate your response.
推荐答案
这么多参考!!!我的眼睛在滚动。 :rolleyes:
参考 - jQuery Datepicker [ ^ ]。
点击查看源代码链接。
So many references!!! My eyes are rolling. :rolleyes:
Refer - jQuery Datepicker[^].
Click on "View Source" link.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script>
(function(){
(function() {
(#datepicker)。datepicker( );
});
< / script >
< / head >
< body > ;
< p > 日期:< 输入 type = text id = < span class =code-keyword> datepicker > < / p >
< / body >
< / html >
( "#datepicker" ).datepicker(); }); </script> </head> <body> <p>Date: <input type="text" id="datepicker"></p> </body> </html>
这篇关于什么是dataPicker的参考库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文