2007-10-17から1日間の記事一覧

jQueryのeachとgrepはcallback関数の引数の順番が逆

ドキュメントのサンプルをみると、jQuery.each関数は function callback(indexInArray, valueOfElement) { var booleanKeepGoing; this; // == valueOfElement return booleanKeepGoing; // optional, unless false // and want to stop looping } って書い…