The following problem has several inputs listed with the same css class, however I need to get a data-atributte of each one by clicking on its input to get its value from atributter:
For example
<input type="button" data-object="{"nome": "Fulano"}" class="btn btn-primary"/>
<input type="button" data-object="{"nome": "Maria"}" class="btn btn-primary"/>
<input type="button" data-object="{"nome": "José"}" class="btn btn-primary"/>