Trying to Attach jquery time picker plugin to textbox in asp.net project. But when running in firefox getting the error "TypeError: $(...).timepicker is not a function".
and the below files used in site.master
<head runat="server">
<%--<script src="Scripts/jquery-1.7.1.js" type="text/javascript"></script>--%>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="Scripts/jquery-ui-1.8.20.js" type="text/javascript"></script>
<script src="Scripts/bootstrap-datepicker.js"></script> <%--v2.0--%>
<link href="Scripts/bootstrap-datepicker.css" rel="stylesheet" /> <%--v2.0--%>
<script src="Scripts/jquery.timepicker.js"></script> <%--v1.9.0--%>
<link href="Scripts/jquery.timepicker.css" rel="stylesheet" /> <%--v1.9.0--%>
<link href="Content/Site.css" rel="stylesheet" />
<meta charset="utf-8" />
<title><%: Page.Title %> - My ASP.NET Application</title>
<asp:PlaceHolder runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<webopt:BundleReference runat="server" Path="~/Content/css" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
<asp:ContentPlaceHolder runat="server" ID="HeadContent" />
and i am using time picker in Default content page as below.
<script>
$(function () {
$('#FromtimeTextBox1').timepicker();
$('#TotimeTextBox1').timepicker();
});
what i am doing wrong here, how to solve this.....
Thanks.