どこかからコードを借りましたが、わかりません。これは一種のajax呼び出しWebサービスです。
function SearchMyStuff() {
$("#tblHouse").hide();
$.ajax({
type: "POST",
url: pageName + "SearchMyStuff",
data: "{'oParams':" + JSON.stringify(BuildMyStuffSearch()) + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (response) {
if (response.d.length > 0) {
while ($('#MyStuffBody tr').length > 1) {
$('#MyStuffBody tr:last').remove();
}
$.each(response.d, function (index, item) {
var templateRow = $('#templateMyStuff');
私が知りたいのは
function (index, item)
ここでのインデックスとアイテムとは何ですか。
説明してくれてありがとう。