You can use the following code: $('td').on('click', function() { var $currentTable = $(this).closest('table'); var index = $(this).index(); ...
確定! 回上一頁