jquery.mtz.monthpicker icon indicating copy to clipboard operation
jquery.mtz.monthpicker copied to clipboard

error in line 87 when use jquery version 1.6

Open Qiuzhuang opened this issue 10 years ago • 1 comments

Hi,

When using this plugin with jquery 1.6, I got the error of 'Uncaught TypeError: undefined is not a function ' in line 87 in chrome:

                if (settings.openOnFocus === true) {
                    $this.on('focus', function () {
                        $this.monthpicker('show');
                    });
                }

Can somebody provide the fix please?

Thanks very much, Qiuzhuang

Qiuzhuang avatar May 03 '14 08:05 Qiuzhuang

FYI, if I use jquery version 1.7.2 or above, it works well. So it should be due to jquery API's in compatibility?

Qiuzhuang avatar May 03 '14 08:05 Qiuzhuang