6
That’s the mistake you’re making:
Uncaught Typeerror: Cannot set Property 'en-BR' of Undefined
Insert some links to format the date, according to what I took on the net and even then the date is still wrong(another format) and I have this error (quoted above) on the page. And what’s more, when I select the date, it goes into the textbox, but the calendar keeps showing up, only if I click somewhere else does it disappear. I already put these three links:
<script type="text/javascript" src="~/Scripts/bootstrap-datepicker.pt-BR.js"></script>
<link href="~/Content/datepicker.css" rel="stylesheet" media="screen"/>
<script src="~/Scripts/bootstrap-datepicker.js" ></script>
Look at my jquery and js. I think there’s too much.
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css" />
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link href="~/Content/Menu.css" rel="stylesheet" />
<link href="~/Content/Styles.css" rel="stylesheet" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script type="text/javascript" src="~/Scripts/bootstrap.js"></script>
<link href="~/Content/datepicker.css" rel="stylesheet" media="screen"/>
<script src="~/Scripts/bootstrap-datepicker.js" ></script>
<script type="text/javascript" src="~/Scripts/bootstrap-datepicker.pt-BR.js"></script>
I had this problem, edited the original and turned into en
– Marcelo Aymone
@pnet is doing this by mvc Asp.net in visual studio neh ?
– user6026