AjaxToolkit Calendar Extender 未反映值的编程更改

发布于 2024-10-04 13:19:40 字数 297 浏览 0 评论 0原文

下拉日历的文本框附近有一个日历图像。 更改文本框中的日期值,

当我通过$("#calendarTextBox").val("11/22/2004");

然后如果用户单击图像,下拉日历包含旧的日期值而不是 javascript 设置的日期值。

任何线索都会有所帮助。

日历演示供试用。

There is a calendar image near to the text box for dropdown calendar. When I change the date value in text box by

$("#calendarTextBox").val("11/22/2004");

and then if user clicks on the image, the drop down calendar contains the old date value instead of the one set by the javascript.

Any clues will be helpful.

Calendar Demonstration for trying out.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

陌路终见情 2024-10-11 13:19:40

得到了解决方案。

$find('<%CalenderExtenderContol.ClientID%>').set_selectedDate(new Date('11/22/2004'));

Got the solution.

$find('<%CalenderExtenderContol.ClientID%>').set_selectedDate(new Date('11/22/2004'));
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文