PHP Classes

Can't select date

Recommend this page to a friend!

      PHP date picker class  >  All threads  >  Can't select date  >  (Un) Subscribe thread alerts  
Subject:Can't select date
Summary:The calendar window opens, but the date isn't selected
Messages:1
Author:Brian Hartman
Date:2014-11-23 00:20:32
 

  1. Can't select date   Reply   Report abuse  
Picture of Brian Hartman Brian Hartman - 2014-11-23 00:20:32
I've got the code working to the point where the window opens for the calendar, but it won't select the date. I can click on the date, but it doesn't select it, and nothing is filled into the form. The example works fine, but mine doesn't.

Here's the relevant line (in the table where the date picker is):

<input type="button" value="Select a date" onclick="javascript:var cw = null; cw = window.open('/client-database/datepicker/includes/datepicker.php?preselectedDate=&month=&year=&controlName=date&dateFormat=m d Y&firstDayOfWeek=1&clearDateButton=1&language=english&template=default','datePicker','width=180,height=210,scrollbars=no,toolbar=no,menubar=no,location=no,alwaysraised=yes,modal=yes'); if (window.focus) { cw.focus() } return true">

Any help would be greatly appreciated. Thanks! :)