---
title: "jQuery datepicker() Uncaught TypeError: undefined is not a function"  
description: "jQuery datepicker() Uncaught TypeError: undefined is not a function"  
author: "Manish Kumar"  
published: 2017-12-11  
updated: 2017-12-11  
canonical: https://www.mindstick.com/forum/34389/jquery-datepicker-uncaught-typeerror-undefined-is-not-a-function  
category: "jquery"  
tags: ["jquery", "bootstrap"]  
reading_time: 1 minute  

---

# jQuery datepicker() Uncaught TypeError: undefined is not a function

I [am getting](https://www.mindstick.com/forum/34179/i-am-getting-error-while-assigning-the-data-to-the-array-list) following [error](https://yourviews.mindstick.com/view/88527/fixing-quickbooks-error-4120-reinstalling-vs-repairing) in datepicker

jQuery datepicker() Uncaught [TypeError](https://www.mindstick.com/forum/157755/calling-a-class-member-function-gives-typeerror-in-python-why): undefined is not a [function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server)

this is my [jquery code](https://www.mindstick.com/forum/157821/write-a-jquery-code-that-selects-all-the-checkboxes-in-a-form-when-a-select-all-button-is-clicked)

```
<script type="text/javascript">

    $(document).ready(function () {
        $('.datepicker').datepicker({

            format: "mm/dd/yyyy",
            endDate: '+0d',
            autoclose: true

        });

      });
</script>
```

## Replies

### Reply by Sunil Singh

I just had this issue and solved it using $.noConflict();

```
<script type="text/javascript">
    var Jquery = jQuery.noConflict();
    Jquery(document).ready(function () {
        Jquery('.datepicker').datepicker({

            format: "mm/dd/yyyy",
            endDate: '+0d',
            autoclose: true

        });

      });
</script>
```


---

Original Source: https://www.mindstick.com/forum/34389/jquery-datepicker-uncaught-typeerror-undefined-is-not-a-function

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
