jQuery UI Datepicker go to date URL [英] jQuery UI Datepicker go to date URL

查看:150
本文介绍了jQuery UI Datepicker go to date URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道是否可以使用jQuery UI Datepicker,并且点击日期时,将document.location设置为该日期,并附加到预设的网址?



所以,如果我点击其中一个日期,它可能会引导我:



http://www.mysite.com?date=2009-10-25





想要吗?

解决方案

只需给它一个 onSelect 函数调用。


Does anyone know if it is possible to use the jQuery UI Datepicker, and when clicking on a date, set the document.location to that date, appended to a preset URL?

So, if I clicked on one of the dates, it might direct me to:

http://www.mysite.com?date=2009-10-25

I need to just use this as a quick way to quickly navigate my website calendar.

Ideas?

解决方案

Just give it an onSelect function to call.

这篇关于jQuery UI Datepicker go to date URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆