cancel
Showing results for 
Search instead for 
Did you mean: 

Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

SOLVED
Highlighted
New Contributor

Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

Millions of websites that call Jquery datepickers in input fields with a date attribute no loner work today for users viewing those sites with FF 19. First Chrome breaks date pickers, now Firefox. I suppose the rest of the browser will not want to be left out of whatever brilliant idea on the horizon that is the root cause of all this, but this is serious. MILLIONS of websites no longer work, and webmasters are scrambling to find solutions. Whatever was planned by all you browser folks for input fields with a date attribute, will never materialize because you have forced people to call date pickers by some alternate method. That means input fields with a date attribute will be disappearing.

Thanks a lot guys!

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

For me at least, the issue is now irrelevant. Apparently the built in popup date picker that no serious web developers will not want, is here to stay.

The only option now, is to remove the type="date" attribute from input fields where you want to call a custom date picker. Instead, you should set the field to type="text" and call the custom date picker for input fields with a specific class name.

13 REPLIES
Legendary Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

New Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

http://viptopia.net/join.php

Click on the date of birth field. A jquery date picker should pop up. Befor today, it did. For years, web developers have been using the type="date" attribute to call a Jquery popup date picker when the input field is clicked.

It seems as though the Chrome browser folks, and now the Firefox browser folks, suddenly believe that they need to control the behavior of all input field with a date attribute set. I can't help but wonder why.

What it all means to website developers, is that custom date pickers can no longer be called with an onclick event for input fields with a dat attribute set. No one will want to wait to find out what all the browser folks have in mind, so now we'll all have to set date fields on input forms to type="text" and call the custom date picker in text fields that have a specific class name, and remove the type='date' attribute.

Whatever cute little plan for the type="date" mozilla may have, is irrelevant, because no website dev will want to use it.

Legendary Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

As temporary fix for Firefox 19 -- before an actual date picker widget is wired up to the field -- you could follow the lead of this demo page and test to see whether the date type is actually supported: http://jsfiddle.net/p58bt/241/. I don't know whether that will work with the older libraries used on viptopia.net (jQuery v1.3.2 and jQuery UI 1.7.2).

Also, you might prefer not to add yet another library...

Related article: http://tjvantoll.com/2012/06/30/creating-a-native-html5-datepicker-with-a-fallback-to-jquery-ui/

Site Moderator

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

What version of Jquery are you using? Support for older versions is flaky at best, so you should update. Do you have an example website?

New Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

Hi everyone, I have similar problem. After updating FF 19 -> 20 , datepickers have a failure. Month and Year selects couse whole picker DIV to hide - should work like day number selector - just stay in place. It happends only in FF 20 - works in other browsers and FF 19. Does any one have the same problem?

Legendary Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

Hi lukaszwierz, could you post a link to a page that has this problem so we can take a look at it?

New Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

Hi, sadly I can't do that because of security mesures ;/... And bigger problem is that we've made some coding around datepicker so even if You had access you probably that its probably our fault. But like I said thing worked in FF 19, and works in chrome, opera, ie, and safari. But on the other hand when I go to jQuery-UI site and look at their examples it works to.... I wrote here just like a lucku shot Smiley Wink

Legendary Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

Hi lukaszwierz, do you have another computer where you could test the beta of Firefox 21? If it's a problem limited to Firefox 20 for internally facing systems, perhaps it is not worth doing a lot of debugging? http://www.mozilla.org/firefox/beta/

New Contributor

Re: Congratulation. Your latest update (19) has broken Jquery date pickers on websites all over the planet

For me at least, the issue is now irrelevant. Apparently the built in popup date picker that no serious web developers will not want, is here to stay.

The only option now, is to remove the type="date" attribute from input fields where you want to call a custom date picker. Instead, you should set the field to type="text" and call the custom date picker for input fields with a specific class name.