var val = $(this) val();
 
1、$(this). focus();
2、$(this).val("");
3、$(this).val(val);
 
1、调用focus方法
2、value赋值为空
3、之前的input的值再赋给自己

相关文章: