jquery - Not showing data in month and year dropdown in datepicker -
i using jquery datepicker month , year value.
but problem is, in dropdown of month , year, white spaces visible, if hover in opened dropdown month , year respectively visible. if take mouse away, there blank white dropdown, again hover in dropdown list, month , year visible. can select then. problem is not visible.
my code datepicker
<script type="text/javascript"> jquery(function ($) { $("#<%= txtdob.clientid %>").datepicker({ changemonth: true, changeyear: true, dateformat: 'mm/dd/yy' }); }); </script>
textbox in applying it:
<div class="col-sm-5"> <asp:textbox id="txtdob" runat="server" placeholder="mm/dd/yyyy"></asp:textbox> </div> <div class="col-sm-4 no-padding"> <p class="error"> <asp:regularexpressionvalidator id="regularexpressionvalidator_txtdob" validationgroup="employee" runat="server" errormessage="invalid date.." controltovalidate="txtdob" validationexpression="^([0-9]{1,2})[./-]+([0-9]{1,2})[./-]+([0-9]{2}|[0-9]{4})$"></asp:regularexpressionvalidator> </p> </div>
.ui-datepicker .ui-datepicker-title select { color: #000; }
it working!
Comments
Post a Comment