javascript get value of input by class code example Example: getelementbyclass var selector = document.getElementsByClassName('class-name');