摘要:[jQuery]使用each迴圈,loop
var gvMain = $("table[id*=gvMain]");
var Deletelmgs = gvMain.find('input[type=image][src*=Delete]');
Deletelmgs.each(function (ImgIdx) {
$(this).click(function () {
var blnConfirm = confirm("確認刪除該筆資料?");
return blnConfirm;
});
});