开箱即用的Datetime Picker透明背景? [英] Datetime picker transparent background out of the box?

查看:103
本文介绍了开箱即用的Datetime Picker透明背景?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是开箱即用的mvc3股票级普通香草jquery行为吗?这是默认的样式行为吗?如何使其不透明?谢谢!

This is out of the box mvc3 stock grade plain vanilla jquery behavior? Is this default styling behavior? How do I make it NOT transparent? Thx!

<script src="../../Scripts/jquery-1.5.1.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-ui-1.8.11.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-ui-1.8.11.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        $('.date').datepicker({ dateFormat: "dd/mm/yy" });
    });
</script>

@Html.TextBox("xxx", "", new { @class = "date" })

推荐答案

我的猜测是您确实缺少样式表或图像.

My guess is you are indeed missing either the stylesheet or the images.

尝试将CS​​S链接添加到

try adding CSS link to

http://ajax. googleapis.com/ajax/libs/jqueryui/1.7.0/themes/base/jquery-ui.css

这篇关于开箱即用的Datetime Picker透明背景?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆