AnsweredAssumed Answered

How do I determine if a Bootstrap Modal is open?

Question asked by csergent08 Champion on Apr 23, 2015
Latest reply on Apr 24, 2015 by csergent08

I looked up online how to determine if a modal form is open on Bootstrap, so I wrote the following line of code:

 

console.log($("attributesModal").hasClass('in'));

 

which provides me with the following error: Uncaught ReferenceError: $ is not definedsubmitIncidentReport @ main.js:228(anonymous function) @ main.js:299

 

 

I want to determine which form is entered to run a block of code to insert data in the database based on the open modal form.

Outcomes