JBTALKS.CC

标题: Json P return value is undefiend [打印本页]

作者: kenji0523    时间: 2012-6-30 09:35 PM
标题: Json P return value is undefiend
我的JsonP

$(document).ready(function () {
            var url = "http://xxx.xxx.xxx.php?";
            $.getJSON(url + "callback=?", { param1: "val1", param2: "val2", param3: "val3",  }, function (items) {
                alert(items);
            });
        });

报 Microsoft JScript runtime error: 'return result' is undefined 错误。。 是我哪里写少了吗?




欢迎光临 JBTALKS.CC (https://jbtalks.my/) Powered by Discuz! X2.5