php+javascript的日历控件

复制代码 代码如下:



js calendar






function disp_js_calendar($button_id, $output_id)
{
/* == sample & description ==
inputField : "birthday", // the ID of input field which you want to put "date" data, not NAME
ifFormat : "%Y-%m-%d", // Date Format
showsTime : false, // also show time ?
button : "BTN", // button's ID, not NAME
singleClick : true, // how to start this function ? Single-click or Double-click
step : 1 // the interval of last year and next year
*/
echo '';
}
echo '
';
?>
Date:
';
disp_js_calendar("BTN", "src_date");
echo '



你可能感兴趣的:(php+javascript的日历控件)