I'd want an AJAX call that only fired when there was no change after X seconds.

-- Yehuda

On 9/10/06, John Resig < [EMAIL PROTECTED]> wrote:
> It's for a situation where you want to get feedback for the changing data in
> a form (live preview for instance).
>
> Is there a way to achieve this with a single event handler?

Yep!

$("textarea.myinput").onchange(function(){
    $("#livePreview").html( this.value );
});

--John

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



--
Yehuda Katz
Web Developer
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to