how to find input with name using dom code example
Example: how to get input name in javascript
// Using jQuery:
$('#id').attr('name');
// Using vanilla js:
let name=document.getElementById("id").name;
// Using jQuery:
$('#id').attr('name');
// Using vanilla js:
let name=document.getElementById("id").name;