My code is
<div class="flex-shrink-1 " id="request_btn<?= $contact['id'] ?>">
  <button data-request-to="<?= $contact['id'] ?>" data-request-from="<?= $_SESSION['id'] ?>" class="btn btn-sm btn-primary send_request" >Send Request
  </button>
</div>
<div class="flex-shrink-1 " id="del_request<?= $contact['id'] ?>">
  <button data-request-to="<?= $contact['id'] ?>" data-request-from="<?= $_SESSION['id'] ?>" class="btn btn-sm btn-danger del_request"  style="display:none;">Reject Request
  </button>
</div>
I want to use in JavaScript
document.getElementById("del_request[int_values]").setAttribute('style','display:none');
document.getElementById("del_request[int_values]").removeAttribute('style'); 
and
document.getElementById("send_request[int_values]").setAttribute('style','display:none');
document.getElementById("send_request[int_values]").removeAttribute('style'); 
I hope you will understand, How can I add send_request[int_values] in javascript
