0
我必須通過一個匿名函數的返回值作爲一個參數傳遞給另一個功能hello1()傳遞返回值到另一個功能
hello1 = function(x,m) { console.log(m) };
return $(this).each(function() {
var self = this;
hello1(something , function(){ return(this); });
});
當我做的console.log(米)它顯示。 .. return(this);而不是對象
只是想說我自己。 :P – DanRedux 2012-04-22 04:43:07
謝謝ricochet1k – user1184100 2012-04-22 05:02:21
沒問題。得到更快的@DanRedux! – ricochet1k 2012-04-22 05:04:33