Comment obtenir un élément par nom de classe javascript
document.getElementsByClassName("legend").style.display="none";
Sid Potti
document.getElementsByClassName("legend").style.display="none";
var queryResult = element[0].querySelector('.multi-files');
var wrappedQueryResult = angular.element(queryResult);
<button type="button" (click)="editForm(m)" class="btn btn-warning" data-bs-toggle="modal"
data-bs-target="#exampleModal">
Sửa
</button>
<input type="text" class="name">