I am working with a dynamically created tables in a ASP.NET repeater, where the number of tables can vary depending on the data retrieved from the database. Below is a sample markup along with the CSS and jQuery code. Please note that the tables are dynamically created and the sample includes only two without the content inside.
.todotable{border-bottom:1px solid white;}
<div id="divalert">
<table></table>
<table></table>
</div>
$(document).ready(function () {
$("#divalert").last().css("border-bottom", "none");
});
My query is regarding how to remove the border for the last table in this scenario?