<script>
$(document).ready(function() {
    $( "#<%= btnSendAbacus.ClientID %>" ).click(function() {
        $("#<%= GridView1.ClientID %>").find('input:checkbox[id$="chkChoose"]').each(function() {
            if($(this).is(":checked"))
            {
                var row = $(this).closest("tr");
                var lblItemSequ = row.find("span[id*=lblItemSequ]");
                var english_name = row.find("[id*=txbENGL_CUST]").val();
                if(english_name  == "")
                {
                    alert('【' + lblItemSequ.text() + '】英文姓名未填');
                    return false;
                }
            }
        });
    });
});
</script>


arrow
arrow

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