I have the following button:
<button type="button" class="btn btn-danger btn-custom" name="deletar" id="<? echo $valor->set_cod; ?>"><i class="fa fa-trash"></i></button>
I need to get the id="", and after searching for the id, I would like to call the bootstrap modal myself, with the delete message, which in turn does the action when the OK button is pressed. How do I?