[javascript] input 실시간 입력확인

Yuni·2023년 4월 13일
0

Javascript

목록 보기
4/17
<input class="" type="text" id="search" autocomplete="off" onchange="inputValueChange()">
function inputValueChange(){ // 입력된거 확인
    var inputValue = document.getElementById('search').value;
    console.log(inputValue)
}

참고
https://c-yhhhhh.tistory.com/m/75

profile
backend developers

0개의 댓글