jquery.ui.monthpicker
jquery.ui.monthpicker copied to clipboard
Uncaught TypeError: $(...).zIndex is not a function
Trying to implement this plugin into Drupal website, I found out it (probably) relies on older version of jQuery UI, resulting in error:
Uncaught TypeError: $(...).zIndex is not a function
Digging into the issue threads I found out the solution here:
https://www.drupal.org/project/jquery_update/issues/3014255
In the .patch file attached, simple change on line 297 from:
inst.dpDiv.zIndex($(input).zIndex()+1);
to:
inst.dpDiv.css('z-index', $(input).css('z-index')+1);
solves this issue. So I am just reporting this if someone else stumbled upon the same problem.
Also thanks for a nice plugin!