how to add two value getbyname using javascript code example
Example 1: select input by name javascript
var element = document.querySelector("form[name='second'] input[name='secondText']");
Example 2: add two numbers javascript
var x = 2 + 3;
//x = 5