답변 1개
채택된 답변
+20 포인트
2018-05-29 (화) 16:43:42
onclick 에 넣는다면,
onclick="$(this).closest('form').submit();" 으로 넣으면 됩니다.
또는,
이미지 버튼인 경우
<input type="image" src="~" style="width:~px;height:~px"> 로 해도 됩니다.
(<input type="submit" ~> 과 동일하게 작동됩니다.)
답변을 작성하려면 로그인이 필요합니다.