While creating a javascript app yesterday I discovered the IE dislikes the console tool. My app was working perfectly in Firefox and Chrome, but would not work for anything in IE unless the Developer Tools were open. After some research and a little trial-and-error I found that it was a console.log() command that was breaking the app.
For reference, using a check to see if console was available broke the code as well. Example:
1 |
if(console){console.log(error);} |
The post Console in IE Will Break Code appeared first on Sophrosyne Life.
Latest posts by Diane Ensey (see all)
- Tables That You Can Sort and Search - May 24, 2017
- Responsive Newspaper-Style Columns are Easy with CSS - May 23, 2017
- Use Tooltips to Add Context - May 22, 2017