Jquery focus out after pressing enter key
use the jquery blur() event
$('.summaryT').keypress(function(e){
if(e.which == 13){
callajax();
$(this).blur();
}
});
Try this
$('.summaryT').keypress(function(e){
if(e.which == 13){
callajax();
$(this).blur();
}
});
Since AJAX stands for asynchronous, you may want to call focusout()
after the call successfully finished.