asp.net 中用jquery的ajax 有时读不出数据

前两天.net web项目中用的jquery的  $.ajax 函数 在前台显示时有时有数据 有时没数据

ff chorme 下基本上能读取数据, ie有时能读取数据

  $.ajax({
            type: "POST",
            url: "ajax.ashx?cid=1",
            data: "",
            timeout: 10000,
            async: true,
            dataType: 'html',
            success: function(result) {
                $("#notice").append($(result));
            }
        });

以前data这儿写"{}",改成data:""就没事了. 不写data好像也不行.

原文地址:https://www.cnblogs.com/barrysgy/p/1800961.html