PHP Classes

Date picker window won't open

Recommend this page to a friend!

      PHP date picker class  >  All threads  >  Date picker window won't open  >  (Un) Subscribe thread alerts  
Subject:Date picker window won't open
Summary:Date picker window won't open, using xampp
Messages:2
Author:Alexei Blue
Date:2010-03-09 21:09:05
Update:2010-03-09 22:47:45
 

  1. Date picker window won't open   Reply   Report abuse  
Picture of Alexei Blue Alexei Blue - 2010-03-09 21:09:05
Hi all,

Firstly thank you for any help,

I recently downloaded the datepicker files, but I can't get the window to open i.e. once I click the button nothing happens.

I ran the datepicker on my Uni's soba server with the files in a my Linux file store and it work no problems on there.

Can anybody help me please?

Thnak you,

Alexei Blue.

  2. Re: Date picker window won't open   Reply   Report abuse  
Picture of Alexei Blue Alexei Blue - 2010-03-09 22:47:45 - In reply to message 1 from Alexei Blue
I appear to have got it work, for some reason the <? ?> tags with in the onclick event weren't working properly and so I used this instead:

...

//Set a temp variable to hold result from show function
$t=$db->show("date");

//echo out text field and button
echo "<input type=\"text\" id=\"date\" />";
echo "<input type=\"button\" value=\"Open date picker\" onclick=\"$t\" />";
?>

Hope this helps anybody with the same problem :)

Cheers,

Alexei Blue.