I've had an issue in Firefox2.0 using the plugin with the 'clickInput'
option turned on.

When the input field has the focus, clicking on it to display the datePicker
will work, but over the top of that will be Firefox's drop-down box showing
previous inputs to that field.

The solution I've used is to do this:

$("#dateFrom")
   .datePicker(dpOptions)
   .click(function() {
      this.blur();
   });


Don't know if anyone else has a better suggestion?
Not sure if it would be appropriate to make this default behaviour for the
plugin but it's there as a suggestion anyway :-)

--rob



On 6/1/07, Chris W. Parker <[EMAIL PROTECTED]> wrote:


On Friday, June 01, 2007 1:11 PM gee <> said:

> E.g., instead of:
>
> Start date: [text input] [.png]
>
> The display appears as:
>
> Start date:
> [text input][.png]
>
> I gather it has something to do with using a float in the style
> declaration for a.dp-choose-date. Before I wade into experimenting
> with alternate style declarations, I am wondering if anyone else has
> already come up with a different markup that allows a label, text
> input, and date selector button to appear on the same line.

I figured it out... :)

In my case the solution was already stated on the demo page. :(

You need to take the styles a.dp-choose-date,
a.dp-choose-date.dp-disabled, and input.dp-applied from demo.css (or
copied from the bottom of his demo page) into your datePicker.css file.

You can keep the files separate but I prefer to keep all the datePicker
styles in one file since I always use the icon.



Hope this helps!
Chris.




--
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 01452 760631
Mob: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.

Reply via email to