$('#input0').focusin(function(){
$(this).val('focusin');
$(this).css('color', '#e88987');
}).focusout(function(){
$(this).val('focusout');
$(this).css('color', '#87a9e8');
});
$('#target1').focusin(
{msg:'focusin', color:'#e88987'},
function(e){
$(this).val(e.data.msg);
$(this).css('color', e.data.color);
}
).focusout(
{msg:'focusout', color:'#87a9e8'},
function(e){
$(this).val(e.data.msg);
$(this).css('color', e.data.color);
}
);