[jQuery] focusin / focusout - Mouse Events

$('#input0').focus(function(){
  $(this).val('foucs');
  $(this).css("color", "#00f");
});

$('#input0').blur(function(){
  $(this).val('blur');
  $(this).css("color", "#f00");
});

$('#target1').focus(
  {msg:'foucs', color:'#e88987'},
  function(e){
    $(this).val(e.data.msg);
    $(this).css('color', e.data.color);
  }
);

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