IE Browser JavaScript Works Only When Developer Tools (F12) are Open

When using IE the JavaScript for the web page stops working.  However, the JavaScript for the web page starts working again when the Developer Tools (F12) are open.  I am updating a bootstrap modal window with new data when the problem occurs.  Why is this?  What is the solution?

Thanks,

Dan
danielolorenzAsked:
Who is Participating?
 
Jeff DarlingDeveloper AnalystCommented:
The most likely cause of this is console.log statements.  comment out your console log statements and try it.
0
 
Julian HansenCommented:
Can you post a link. Not enough information to diagnose the problem.
0
 
danielolorenzAuthor Commented:
I already tried commenting out the console.log statements and that did not work.
0
 
Julian HansenCommented:
Can you give us a link?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.