<button class="btn btn-square uppercase bold blue pull-right" type="submit"
id="button-1"><i class="icon-eye"></i> Ticket Details</button>
<div class="row d-none" id="content-1"></div>
I have to repeat the above code with incrementing the id how should I do that by using this code:
$("#button-1").click(function() {
$("#content-1").toggle("slide");
});