简体   繁体   English

我的asp.net MVC视图中的JQueryUI Datepicker

[英]JQueryUI Datepicker in my asp.net mvc View

I have this code in my view. 我认为此代码。

 $("#Effective Date").datepicker({
                showOn: "button",
                buttonText: "..."
            });

I am able to see the the date and I can select the date. 我可以看到日期,也可以选择日期。 But when I open the datepicker Iam not seeing the Arrows on the popup box. 但是,当我打开日期选择器时,我在弹出框中没有看到箭头。 << < March 2012 > >>

can anybody please help me out 有人可以帮我吗

确保您还具有下载的jQuery的CSS和图像。

These 'arrows' are backround image. 这些“箭头”是背景图像。 Check the css. 检查CSS。

It must be something to do with the CSS you're using. 这一定与您使用的CSS有关。

Here is a jsFiddle. 这是一个jsFiddle。

http://jsfiddle.net/C9rCT/ http://jsfiddle.net/C9rCT/

It uses jQuery 1.7, jQuery UI and links to the jQuery UI CSS file from Google (http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css) 它使用jQuery 1.7,jQuery UI以及从Google到jQuery UI CSS文件的链接(http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM