I am using Josh Bush's (digitalbush.com) masked input plugin in
combination with jQuery UI's datepicker widget. It was working fine
with jQuery UI 1.7 but now that I've tried the dev release (1.8a1) I'm
seeing some strange behaviour.

The code:

$(".dateformat").datepicker({ nextText: "", prevText: "", changeMonth:
true, changeYear: true });
$(".dateformat").mask("99/99/9999");

The "buggy" behaviour:

If I try manually typing the date into the text input instead of
selecting it using the datepicker, the values I've typed get erased as
soon as I type 6 characters. For example, I can type "11/20/2___" but
as soon as I type "0" after that, the preceding numbers disappear and
I'm left with "__/__/_0__".

Very odd. I'm thinking jQuery UI 1.8a1 doKeyPress() function for the
datepicker widget is conflicting with Masked Input's onkeypress event
handling.

Anyone have an idea on how to resolve this?

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to