Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Uncaught TypeError: jQuery(...).parent(...).datepicker is not a function #22

Closed
whte opened this issue Mar 9, 2016 · 1 comment
Closed
Labels

Comments

@whte
Copy link

whte commented Mar 9, 2016

Hi there,

Is there a way to identify which version of jquery are you using?

Or is there anyway that I could solve this issue?

I am using a templates which have the older version of jquery

'js/jquery-1.7.2.min.js', 'js/excanvas.min.js', 'js/chart.min.js', 'js/bootstrap.js', 'js/full-calendar/fullcalendar.min.js', 'js/base.js',

If I remove the jquery here, the error won't be showing and the datepicker will be working just fine.

However, I need those jquery in order to do other stuff so it can't be removed.

Or maybe noConflict() can help?

@tonydspaniard
Copy link
Member

Should be latest as the jquery version is registered by yii2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants