How to Select input type in JavaScript? July 05, 2017 Get link Facebook X Pinterest Email Other Apps Solution: Select the input type Like <input type=”text”> or type=”button” etc. By writing this line of code you can select any input type. document.querySelectorAll('input[type=text]') Comments
Comments
Post a Comment