'JSON' is undefined error in JavaScript in Internet Explorer

前端 未结 7 1626
走了就别回头了
走了就别回头了 2020-12-23 19:45

We are using jQuery in our application. We have used a jQuery plugin to implement JavaScript session.

It is working properly in Firefox and most Internet Explorer 8

相关标签:
7条回答
  • 2020-12-23 20:12

    I had the very same problem recently. In my case on the top of a php script I had some code generationg obviously some extra output to the browser. Removal of empty lines (between ?> and html-tag ) and simple cleanup helped me out:

    <?php 
    include('../config.php');
    
    //
    
    ob_clean();
    ?>
    <!DOCTYPE html>
    
    0 讨论(0)
提交回复
热议问题