Just for fun output the value of $end_date like this <p>$end_date is <?php echo $end_date;?></p>
On Feb 24, 6:41 am, henry <hengemilyz...@googlemail.com> wrote: > I try to set value to datepicker when the form load intitially, the > value is from a varialble. See the following: > > <input type="text" id="datepicker" name="report_date" value="<?php > echo $end_date; ?>" onChange="ChangeDueDate(this.value)"> > > But the Value seems alway defaut to today, but $end_date is not today. > > Could anyone help ? > > Thanks > > Henry -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.