Re: [jQuery] oninput bug workaround

2006-10-13 Thread Duncan Anker
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? >

Re: [jQuery] oninput bug workaround

2006-10-09 Thread Sam Collett
On 09/10/06, Duncan Anker <[EMAIL PROTECTED]> wrote: > Hi John, > > Oninput is a firefox event, it fires whenever the text being > displayed would change, e.g. after a paste (so it's similar to the IE > event onpaste). Onkeypress won't catch right-click pastes or auto- > completion, and I believe t

Re: [jQuery] oninput bug workaround

2006-10-09 Thread Duncan Anker
Hi John, Oninput is a firefox event, it fires whenever the text being displayed would change, e.g. after a paste (so it's similar to the IE event onpaste). Onkeypress won't catch right-click pastes or auto- completion, and I believe that onchange doesn't fire until the field loses focus. A

Re: [jQuery] oninput bug workaround

2006-10-09 Thread John Resig
I can safely say that I've never heard of the 'input' event. Nor has Quicksmode: http://www.quirksmode.org/js/events_compinfo.html Perhaps you meant something else? (onkeypress? onchange?) --John On 10/9/06, Duncan Anker <[EMAIL PROTECTED]> wrote: > I've been trying to use oninput to validate fi

Re: [jQuery] oninput bug workaround

2006-10-08 Thread Blair Mitchelmore
This wouldn't be ideal, nor do I know if it even works but have you tested: someFunction = function() { /* ... */ }; element.attr('oninput','someFunction()'); -blair Duncan Anker wrote: > I've been trying to use oninput to validate fields in firefox and have > had zero luck with it the

[jQuery] oninput bug workaround

2006-10-08 Thread Duncan Anker
I've been trying to use oninput to validate fields in firefox and have had zero luck with it the jQuery way: element.bind('input', ...) is just not cutting it. After some digging around on the net I *finally* found some useful, although mildly depressing, information about it. What it seems to