为什么 jQuery 不会触发输入的更改事件?
我将 jQuery 与 asp.net 一起使用。 我有一个输入,其值会在处理后发生变化: 首先单击一个按钮,打开一个弹出对话框并选择一个项目,然后关闭弹出窗口并更改我的输入值。 我想获取更改事件并执行某些操作,但什么也没有发生。 感谢您的帮助
I use jQuery with asp.net.
I have an Input that its value will change after a process:
first a button is clicked and a popup dialog is opened and an item is selected, then popup is closed and the value of my input is changed.
i want to get the change event and do sth, but nothing happen.
Thanks for help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您在寻找这样的东西吗?
http://jsfiddle.net/rsarika/b9NTS/1/
Are you looking for something like this?
http://jsfiddle.net/rsarika/b9NTS/1/
当弹出窗口打开时,我在会话中设置参数,然后当主页聚焦时,我检查会话是否有值(使用ajax),然后我得到了更改值!
When the popup is opened I set the parameter in session and then when the main page is focused I checked if the session has value (with ajax) and then I got the change value!