I'm currently having some troubles with datepicker in IE11. When I click on my textbox it works at least so far that an "x" is displayed on the right end of the textbox to delete its content. BUT the calendar itself is not shown.
When I tried to use textmode="DATE" instead of the jquery datapicker it resulted in the same end result. I'm using a master / content layout and the jquery import is on the master page.
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<br /><br /><br />
<script type="text/html">
$(document).ready(function () {
$("#<%= DisplayFromDateTextBox.ClientID %>").datepicker();
$("#<%= DisplayToDateTextBox.ClientID %>").datepicker();
);
});
</script>
<div>
Welche Tage sollen angezeigt werden:
<asp:TextBox runat="server" ID="DisplayFromDateTextBox"></asp:TextBox>
Bis
<asp:TextBox runat="server" ID="DisplayToDateTextBox"></asp:TextBox>
<asp:Button runat="server" ID="DisplayButton" OnClick="DisplayButton_Click" Text="Anzeigen"/>
</div>
<asp:ListBox ID="JournalListBox" runat="server" Height="531px" Width="593px"></asp:ListBox>
In the master page I include jquery this way:
<script type="text/javascript" src="/scripts/jquery-1.12.1.min.js"></script>
<script type="text/javascript" src="/scripts/jquery-ui-1.12.1.min.js"></script>
from datepicker not showing calendar in IE11
No comments:
Post a Comment