IE9 makes ajax call correctly only ofter hitting F12

前端 未结 4 1631
逝去的感伤
逝去的感伤 2020-12-15 06:50

I have this jQuery code in my JSP page (jQuery 1.7.2) :

   function Header() {
      this.add = function ( parentDiv, leftToolbar, rightToolbar ) {
                  


        
4条回答
  •  -上瘾入骨i
    2020-12-15 06:59

    console.log is undefined outside of developer mode in IE. I like to just make a variables

    var console = {log: function(){}};
    

    for when I'm not debugging.

提交回复
热议问题