// Add click event listener to document, check for clicks on rows // Better to use: $("table").on... as long as the table exists when t