vanilla js pilih berdasarkan kelas

var testElements = document.getElementsByClassName('test');
Inexpensive Impala