Pages

Wednesday 21 May 2014

Json undefined error while using IE

Just copy and paste the following code into the head tag section of your web page. For reusability you can add this code on your Master page. This code is used to avoid Json related and all the Ajax related problems that comes while using different types of browsers.

<meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1" /> <!--[if lt IE 9]> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <![endif]--> <!--[if gte IE 9]><!--> <script src="http://code.jquery.com/jquery-2.0.3.js"></script> <!--<![endif]-->

No comments:

Post a Comment