i've needed things on change event of jquery autocomplete. it's working expected (doing these things after changing , losing focus).
however, if click on submit button or press enter (that submits too) autocomplete change event firing after submit's done , need before submitting.
i've tried things trigger change event on submitting event , other palliative things nothing worked (using select event not option).
try binding focusout should react submit or button click. https://api.jquery.com/focusout/
Comments
Post a Comment