Skip to content Skip to sidebar Skip to footer

Filereader And Json Objects Not Defined In Ie11

Whenever trying to open a page running a javascript code using FileReader and JSON upon page initialization, ie11 reports 'FileReader is not defined', and later 'JSON is not define

Solution 1:

Add <meta http-equiv="X-UA-Compatible" content="IE=edge" /> as the first tag of the header to be sure. IE loves to go to compatibility mode even if a HTML5 doctype is present under certain circumstances (especially on intranet files when the computer is in a domain).

You can use the developer tools (F12) to check what mode you are running in.

Post a Comment for "Filereader And Json Objects Not Defined In Ie11"