if (!window.JSON) {
// no JSON!
throw "SignalR: No JSON parser found. Please ensure json2.js is referenced before the SignalR.js file if you need to support clients without native JSON parsing support, e.g. IE<8.";
}
Run Code Online (Sandbox Code Playgroud)
我的mvc 4网页使用signalR Hub在Firefox,IE8和Chrome中运行良好,但在IE7中有问题,是否有人遇到同样的问题?
signalr ×1