I trying to hide modal after login success by call ajax But I cannot use $("#signInModal").modal(\'hide\'); ($().modal is not a function. i don\'t understand how i