It's as follows, I have the following code:
$('body').on("click", ".delete", function() {
$('#1').val($(this).parents('tr').find('td').eq(0).text());
});
That will fetch the id
of a row from a corresponding table row clicked and I wanted to get that value and put it in the URL like this:
window.location('iframes/clientes_apagar.php?cliente_id="Aqui"')