Jquery datetimepicker in asp.net?

I am trying to implement the Jquery datetimepicker in my asp.net webpage.The following steps are what i have done so far

  1. Followed the link http://www.projectcodegen.com/JQueryDateTimePicker.aspx

  2. I am trying to implement the sample in my code.

  3. I did add the js and the css files to my application.

Here is my code
but the pop up calender with time is not displayed when i run the application.

<head runat="server">

 <link rel="Stylesheet" href="jquery.ui.datetimepicker.css" type="text/css" />

 <script src="Scripts/jquery.ui.datetimepicker.js" type="text/javascript"></script>

<script src="Scripts/jquery.ui.datetimepicker.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $  (function(){

        $  ('TextBox1').datetimepicker();

    });

   <input type="text" id="TextBox1" />

</div>
</form>

newest questions tagged jquery – Stack Overflow

About Admin