I have a function that is currently triggered by a focusout of an input element via
$('#wrapper').on('focusout','input[name=state]',function(){
/* execute function */
});
The problem I am having is if someone decides to just skip that element with say a mouse click (as this input element is auto filled using the ziptastic plugin) then the function will not trigger. I tried .on('change')
but that did not seem to work.
What would be the best way to trigger this function once input[name=state] has been filled out.