문서의 이전 판입니다!
select
요소의 선택된 값을 읽는다.select
요소에서 option
의 value가 1인 것을 선택 상태로 만든다.select
요소에서 선택 상태인 option
의 문자열 값을 읽는다.function(){ return $('.myForm').valid(); }
text.replace(/(<([^>]+)>)/ig,"");
document.domain=XX
로 Cross Domain 설정을 한 상태에서 iframe 옵션을 사용하면 업로드가 작동하지 않는다. iframe 내부 컨텐츠의 document.domain 설정은 항상 iframe URL의 도메인을 따르게 되기 때문이다. Chrome에서 보면 다음과 같은 오류 발생.Unsafe JavaScript attempt to access frame with URL XXX from frame with URL YYY. Domains, protocols and ports must match.