입력 검사에 문제가 있습니다. 나는 입력의 길이 인 경우 요청을 보내지 않으입력 값 길이 확인
미만 3. 내 양식 : 당신은 양식 onsubmit 처리기를 추가 할 수 있습니다
<form method='post' action=''>
Albūma nosaukums: # # this is the input --><input id='titleeee' type='text' name'album_title' /><br />
Bilde Nr 1: <input type='file' name='pic_nr1' /><br />
Bilde Nr 2: <input type='file' name='pic_nr2' /><br />
Bilde Nr 3: <input type='file' name='pic_nr2' /><br />
Aktīvs*:
<select>
<option>Jā</option>
<option>Nē</option>
</select>
<br />
<input Onclick='testlenght(document.getElementById("titleeee"), "Tavs albūma nosaukums ir pa īsu!", "3")' type='submit' value='Pievienot' />
</form>
'testlenght을()'작업하지만, 어디 기능입니다하지 않는 이유는 무엇입니까? –