how see model is open or not in jquari code example Example: check if modal hide jquery alert($('#registration-exams-modal').hasClass('show'));