Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datetime picker transparent background out of the box?

Tags:

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" })

enter image description here

like image 493
genxgeek Avatar asked Sep 30 '11 02:09

genxgeek


1 Answers

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

try adding CSS link to

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

like image 188
Matt Avatar answered Oct 08 '22 19:10

Matt