开发者

jQuery lambda functions

jQuery uses lambda functions extensively wherever a function is to be passed into another function. But Visual Studio 2008 would not honor break points that are set inside a JavaScript lambda function. Anybody knows any wo开发者_运维技巧rkaround for this other than giving an explicit name for the function and passing this to the jQuery functions?


try using Firebug.


Put debugger statement into your function.

$.get('http://...').on('data', 
    function(data) {
        debugger;
    }
);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜