简体   繁体   English

如何返回或加载特定日期?

[英]How can I return or load a specific date?

Is there a way to return or load the calendar by an get URL. 有没有一种方法可以通过获取URL返回或加载日历。 Something like calendar.php?gotoDate=2010-10-21 ? 类似于calendar.php?gotoDate = 2010-10-21吗?

Many Thanks! 非常感谢!

Edits go here (not in answers or comments): 编辑在此处(不在答案或评论中):

Oops! 糟糕! I'm sorry: http://arshaw.com/fullcalendar/ 抱歉: http//arshaw.com/fullcalendar/

Sure, but you need to code it yourself. 可以,但是您需要自己编写代码。 The calendar is a jquery plugin. 日历是一个jQuery插件。 You will need to read the query string, and set the calendar date to whatever is there in javascript. 您将需要阅读查询字符串,并将日历日期设置为javascript中的任何日期。

Why do you need to set it by url? 为什么需要通过url进行设置?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM