how to get value of name attribute in javascript code example
Example: select input by name javascript
var element = document.querySelector("form[name='second'] input[name='secondText']");
var element = document.querySelector("form[name='second'] input[name='secondText']");