0
 var matchedRowIndex;=-1;
       $(function ()
            {
               $(".csstablelisttdsch td:nth-child(1)").each(function (e)
                {
                            //Some code to match row.
                            matchedRowIndex = $(this).closest('tr').index();
                });
            });

jquery.each 在部分回发后不起作用。

$(document).on('each', '.csstablelisttdsch td:nth-child(1)', function (e)
            {
                alert()
            });

我用过 document.on 但不起作用

4

0 回答 0