parmarmayur9090 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Todays date, set as end date not filling in Text input when selected from calendar #215

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

$('.date-pick').datePicker(
    {
      startDate: '01/01/2001',
      endDate: (new Date()).asString(),
      clickInput: true
    }
  );

click in text input, click on todys date, calendar closes, no date in text 
input.

What is the expected output? What do you see instead?

Todays date in text input, no date in text input

Please provide a URL to a page displaying the problem.

What version of the datepicker are you using? On what operating system? And 
Which Browser?

jquery.datePicker.js 98 2010-05-24 10:10:01Z

FF 3.6.2, IE 8.0

Please provide any additional information below.

The above code is in a document.ready function.

The associated text input is defined as follows:

<INPUT TYPE="text" NAME="fromDate" SIZE="10" MAXLENGTH="10" id="fromDate" 
class="date-pick">

Original issue reported on code.google.com by ken.m.c...@gmail.com on 7 Jun 2010 at 11:39