|
Re: [jQuery] oninput bug workaround: msg#01200lang.javascript.jquery
On 10/10/2006, at 12:13 AM, Sam Collett wrote: > oninput doesn't seem to be documented by Mozilla. The only thing I can > find is to do with XUL. As it isn't documented for the HTML DOM, there > is a chance it may be dropped in the future. > http://developer.mozilla.org/en/docs/Special:Search? > search=oninput&go=Go Quite possibly. Although I am inclined to think that as long as it is supported in XUL, any XUL-based applications will support it by default. It just won't be a standard event. Anyway, what I have done and which seems to work on limited testing so far is this: jQuery.fn.paste = function(callback) { return this.each(function() { if ( this.addEventListener ) { this.addEventListener('input', callback, false); } }).bind('paste', callback); }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [jQuery] Ajax to update multiple fields, Klaus Hartl |
|---|---|
| Next by Date: | [jQuery] simple profiling, Todd Menier |
| Previous by Thread: | Re: [jQuery] oninput bug workaround, Sam Collett |
| Next by Thread: | [jQuery] pack speed, Fil |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |