> 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/

Reply via email to