Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery datepicker with php and mysql

Tags:

jquery

php

mysql

i use jQuery datepicker. i disabled input text and wanted use it as simple calendar

http://jqueryui.com/demos/datepicker/#inline

but now i need to make it with php and mysql, so as retrieve news from database on selected date. for instance when admin adds news on 2011-07-07 i want to link this day on calendar. sorry for my bad english but if u understood please help, i really found lots of documentations but couldn't did.

i used

onselect also beforeShowDay

but cannot understand. is there any chance to make it like news calendar?

help me with a small code please...

like image 954
DVX Avatar asked Nov 20 '25 14:11

DVX


1 Answers

Use setDate.

$('...').datepicker('setDate', date object);
like image 113
Naftali Avatar answered Nov 23 '25 04:11

Naftali