I would like to prevent the default event from a focusOut
(or blur
) event and keep the focus set to the specific input field.
This is what I ha
inst.$target.on("blur", function() {
if (!$.suggestBox.$divCont.hasClass($.suggestBox.mouseOverClassName)) {
$.suggestBox.$divCont.css({'display': 'none'}); //reposition Suggestbox
return true;
}
inst.target.focus();
return false;
});
need to see your html. I don't think you are calling things correctly EX:
$.suggestBox
I think should be $(".suggestBox")
, but i cant tell without seeing your htnl