搜尋 gridview 內的所有控制項


        $("#GridView_ID_Name").each(function (i) {
            var row = $(this).closest("tr");
            var lblItem = row.find("span[id*=Lable1]");

            alert('第【' + lblItem.text() + '】筆發生錯誤');
            return false;
        });


arrow
arrow

    Roger 發表在 痞客邦 留言(0) 人氣()