Is there anyway to dynamically unfocus (focus = false) a textbox or textarea element?
I tried triggering .blur and .focusut but those only apply when it is focused out. It won't trigger a focus out event.
Any help is greatly appreciated.
$(document).bind('keydown', 'ctrl+1', function() {
  alert("hotkey triggered");
  if ( $(".txtbox").is(":focus") ) {
    $(".txtbox").trigger('focusout');
  }
});