javascript로 form에 연결(action : post) 해서 컨트롤러로 연결하려고 했는데 이러한 오류가 생겼다
function chk_form() {
document.getElementById('#updateForm').submit();
}
알고보니 여기서 오류가 생긴것이었다
getElementById에는 #이 들어가 있으면 안된다
function chk_form() {
document.getElementById('updateForm').submit();
}
이렇게 변경해서 실행해보니 컨트롤러랑 연결이 되었다