在jquery中使用ajax-calendar选择日期后要调用的事件 [英] Which event to call after date selected using ajax-calendar in jquery

查看:315
本文介绍了在jquery中使用ajax-calendar选择日期后要调用的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个asp.net页面。我有一个表,在这个表中,我有一个标签用于前一个和一个文本框插入工作日期。



现在,我必须使用哪个jquery函数从ajax日历中插入日期后的电话。



以及如何比较两个日期,其中工作日期不应小于上一个日期。



PLZ帮帮我。



谢谢



我尝试了什么:



i尝试使用.blur函数,但我不认为,这是一个不错的选择。

Hi guys,

I have an asp.net page. in which i have a table, in this table, i have one label for previous and one textbox to insert job-date.

Now, which jquery function i have to call after date inserted from the ajax calendar.

and how to compare the both date, where job-date should not be less than previous date.

plz help me.

Thanks

What I have tried:

i tried using .blur function, but i dont think, its a good option.

推荐答案

.change()事件将在ajax工具包中的选择日期之后调用。现在你可以在jquery中的change()事件中比较两个日期。例如,请按照以下链接...



[演示] jQuery TextBox onChange Event - JSFiddle [ ^ ]



使用jquery的textbox onchange事件会导致JScript运行时错误:' Deductions'未定义 - 堆栈溢出 [ ^ ]



jQuery文本框更改事件并没有触发,直到文本框失去焦点? - 堆栈溢出 [ ^ ]



问候,

AARIF SHAIKH
.change() Event will call after select date from ajax toolkit . now you can compare both date at change() event in jquery. for instance, please follow below links...

[Demo] jQuery TextBox onChange Event - JSFiddle[^]

textbox onchange event using jquery causes JScript runtime error: 'Deductions' is undefined - Stack Overflow[^]

jQuery textbox change event doesn't fire until textbox loses focus? - Stack Overflow[^]

Regards,
AARIF SHAIKH


这篇关于在jquery中使用ajax-calendar选择日期后要调用的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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