Skip to main content

Bug Tracker

Side navigation

#9135 closed bug (invalid)

Opened May 05, 2011 11:28PM UTC

Closed May 06, 2011 04:29AM UTC

Last modified May 09, 2011 08:24AM UTC

latest jquery date-input plugin not work with jquery 1.5.1

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: misc Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

I have tried to use date-input with jQuery 1.4.4, its working fine.

But when I use jQuery 1.5.1, even 1.6, it stops working.

It seems the date-input plugin hasn't been updated for a while.

Thanks

Chao

Attachments (0)
Change History (2)

Changed May 06, 2011 04:29AM UTC by addyosmani comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

Thanks for submitting a ticket to the jQuery Project! Unfortunately, we are unable to assist with debugging issues related to third party plugins. We instead recommend that you get in touch with the plugin author directly regarding the issues you're experiencing. You can do this via their official project site, repository or dedicated issue tracker.

Changed May 09, 2011 08:24AM UTC by JavierCaptain comment:2

Hi,

is a Date-Input bug.

You've to change plugin's line 127 and 134.

The problem is the missing char(') for the attribute filter that is not validated by regex of jquery version 1.5.

example line 127:

original:

$("td[date=" + this.dateToString(new Date()) + "]", this.tbody).addClass("today");

correct:

$("td[date='" + this.dateToString(new Date()) + "']", this.tbody).addClass("today");