javascirpt | input 여러개 숫자만 입력가능하도록 설정 | input only text getElementsByClassName
jsp에 input이 forEach 문으로 여러개 만들어지고, 해당 input에 모두 숫자만 입력하게 하고 싶을 때 HTML 단위 JavaScript * 참고 https://stackoverflow.com/questions/19655189/javascript-click-event-listener-on-class JavaScript click event listener on class I'm currently trying to write some JavaScript to get the attribute of the class that has been clicked. I know that to do this the correct way, I should use an event listener. My code..