블로그
- 안드로이드 웹뷰 링크 새창처리 false; } // Otherwise, the link is not for a page on my site, so launch another Activity that handles URLs Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(intent); return true
- [영진전문대학 컴퓨터정보계열] int get(){ while(empty){ try{ wait(); }catch(InterruptedException e){} } empty = true; notifyAll(); return empty){ try{ wait(); }catch(InterruptedException e){ } } empty = false; this.data = data; notifyAll()
- [영진전문대학 컴퓨터정보계열] 스레드 - 생산자 / 소비자 { while (empty) { try { wait(); } catch (InterruptedException e) { } } empty = true; notifyAll(); return empty) { try { wait(); } catch (InterruptedException e) { } } empty = false; this.data = data; notifyAll
- 자바스크립트 날짜 비교 1 ."); return false; }
- KiMall Model2(모델2)홈페이지 회원가입 step3 ; document.joinform.name.focus(); return false; } else if(document.joinform.id.value=="") { alert("아이디는 ; document.joinform.id.focus(); return false; } else if(document.joinform.id.value.length12) { alert(
- KiMall Model2(모델2)홈페이지 회원가입 step1 ."); return false; } } 그에대한 소스코드는 위와 같으며 위에서 하나라도 체크되지 않으면 경고창 생성과 동시에 넘어 갈수 없도록 return false를 적용 했다.
- 스크립트 함수 아이디중복확인 및 회원가입시 조건 id="+joinform.id.value; if(id.length==0){ alert("아이디입력하세요"); joinform.id.focus(); return false; } window.open
- 스크립트 함수 약관동의 및 주민번호 양식 체크 ."); return false; } } 아주 간단하다. 그냥 해당 값이 하나라도 체크되어 있지 않으면 동의해 달라는 메시지와 함께 다음 과정으로 넘어가지 못하게 했다.
- form 폼 input box 엔터 enter 클릭시 다음 input box 로 자동 포커스 이동 enter)키보드 클릭시 다음 input box로 자동 커서 이동 // submit 이 아닌 자바스크립트 호출시에는 자바스크립트로 작성해주어야 합니다 onsubmit="return false" 이 아닌 onkeydown="if(event.keyCode==13)return false;" 으로 작성 엔터클릭시 submit이 자동실행되는 것을 방지 event.keyCode
- [JAVASCRIPT] 주민등록번호, 사업자번호 유효성검사 = 10) { alert("사업자 번호는 '-' 를 제외한 숫자 10자리만 입력이 가능합니다."); document.frm.ssn.focus(); return false; } if( allnum(ssn)){ alert("사업자 번호는 숫자만 입력이 가능합니다."); document.frm.ssn.focus(); return false; } var calStr1