(Codeigniter)next_prev_url日历与ajax或jquery

时间:2013-03-31 10:06:46

标签: jquery ajax codeigniter calendar

我希望我的next_prev_url日历成为ajax 所以如果我按下一个或上一个链接,我的日历将在ajax中处理... 这是我的控制器

$this->load->model('tasks_koord_model');
    $prefs = array (
        'show_next_prev'    => TRUE,
        'next_prev_url'     => site_url('kalender_koord_controller/index'),
        'template'          =>'{table_open}<table class="calendar">{/table_open}
    {week_day_cell}<th class="day_header">{week_day}</th>{/week_day_cell}
    {cal_cell_content}<div class="event"><a href="{content}"><span class="day_listing">{day}</span></a></div>{/cal_cell_content}
    {cal_cell_content_today}<div class="today"><a href="{content}"><span class="day_listing">{day}</span></a></div>{/cal_cell_content_today}
    {cal_cell_no_content}<span class="day_listing">{day}</span>&nbsp;{/cal_cell_no_content}
    {cal_cell_no_content_today}<div class="today"><span class="day_listing">{day}</span></div>{/cal_cell_no_content_today}'
    );
    $this->load->library('calendar',$prefs);

请帮帮我......

1 个答案:

答案 0 :(得分:0)

我希望这就是你要找的东西。 https://thecodingmaniac.blogspot.com/请参阅下面的附件。希望这会有所帮助。