JQuery生活或与.change()类似的东西? [英] JQuery live or something similar with .change()?

查看:121
本文介绍了JQuery生活或与.change()类似的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想这样做: http://docs.jquery.com/Events/live #typefn

只有.live()不支持更改事件 - 任何想法的工作?

Only .live() doesn't support the change event- any ideas for work arounds?

需要将功能绑定到一些即时的DOM元素,但不要等到更改。

Need to bind a function to some on-the-fly DOM elements, but not until change.

推荐答案

注意:jQuery 1.4现在支持所有正常事件的实时功能。它直到最近才用于IE8,但我相信这是用jQuery 1.4.2修复的。请参阅此解决的jQuery故障单: IE8在使用实时时不支持更改事件

Note: jQuery 1.4 now supports the live function for all normal events. It didn't work with IE8 until recently, but I believe this is fixed with jQuery 1.4.2. See this resolved jQuery ticket: IE8 DOES NOT SUPPORT THE CHANGE EVENT WHILE USING LIVE

这篇关于JQuery生活或与.change()类似的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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