javascript mendapatkan elemen berdasarkan nama
document.getElementsByName("acc")[0].value
document.getElementsByName("acc")[0].value
var element = document.querySelector("form[name='second'] input[name='secondText']");