[jQuery] keyup & change together dont work for me

[jQuery] keyup & change together dont work for me


hi everyone, my name is JoaquĆ­n.
I can't find the solution to my problem.
i have two events (keyup and change) on a input:text my code is:
$("#some_id")
.bind('keyup', function()
{
$(this).val(formatContent($(this).val()));
}
)
.bind('change', function()
{
validateContent($(this).val());
}
);
but the change event never works, if i change the "change" event for
focus for example it works, but with "change" never works :(
i try a lot of things, add a onchange="formatContent..." , call the
functions separately, call the functions with $().change and $
().keyup, change the code order (first the keyup, then the change,
first the change, then keyup), but not works.
if i put only the change code it works, but dont works with both.
any ideas or some documentation to read?