datepicker with SQL?
Im having difficulty trying to work this out.
Im trying to grey out the dates that have already been entered into the database.
heres what I tried
im new with this stuff so go easy :confused:
var day = date.getDay('$grey, $grey2');
return [(day > 0), ''];
i was going to try and write a solution, but there is a darn good one already : http://davidwalsh.name/jquery-datepicker-disable-days
Thanks for replying...
I've tried to implement this into my code but Ive had no luck! I also tried using it on its own to see whether it worked without my code but it doesn't. (changing the dates etc)
Also how would I change it to add values from my database?
the strings with the data in are called $grey $grey2 (which have the dates in)