I have this auto suggest menu with my input fields and as there are multiple fields I need to select the field that was in focus just before the li was clicked and blurred the input, so it knows which input to select. is there a way to get the last input field focused before the blur? Thanks
function fill(thisValue) {
if(thisValue === undefined){
$('#suggestions').fadeOut();
} else {
$("input *//input in focus before blur//* .val(thisValue);
setTimeout("$('#suggestions').fadeOut();", 600);
$('.email').addClass('load');
}
}