javascript64 제목 글 길어지는거 제한 .. 가나다라마바사 가나다라마바사 가나다라마바사 가나다라마바사 가나다라마바사 가나다라마바사 2015. 5. 10. 스크립트 안에 객체 속성 메소드 이벤트 핸들러 들 모아놓은거 .. ※ 첨부파일 :: JavaScript 1.3 Reference ※ 녹색은 네츠케이프, 혹은 익스플로러 전용으로만 사용되는 객체(속성,메소드)입니다 객체(Object) 속성(Property) 메소드(Method) 이벤트핸들러(Event Handler) Anchor name text x y anchors array length Applet applet's methods applets array length Area hash host gostname href pathname port protocol search target onClick onmouseOut onmouseOver Array length concat join pop push reverse shift slice sort unshjft Button .. 2015. 5. 10. java replaceAll 과 같은 기능을 하는 javascript function getReplaceText(text, ch1, ch2) { var i; var rtn; rtn = ""; if (text == "") return rtn; for (i=0; i 2015. 5. 10. input 박스 클릭 못하게 하는 html 메소드.. readonly readonly ex) 2015. 5. 10. 스크립트 공백 처리 .. 정규 표현식.. replace(/\s/g, ""); 공백 처리 정규 표현식. replace(/\s/g, "%20"); 공백을 %20으로 치환 .. ex) var filepath = response.items[0].FILE_PATH.replace(/\s/g, ""); var fileurl = response.items[0].FILE_URL.replace(/\s/g, ""); var filename = response.items[0].FILE_NAME.replace(/\s/g, "%20"); 2015. 5. 10. 모달 showmodaldialog 원문 : O'Reilly의 JavaScript and DHTML Cookbook window.showModalDialog와 window.showModelessDialog 는 modal window가 보이는 동안 script 프로세싱을 중단시키고, modal window가 닫히면 계속 처리됩니다. 개인적인 생각으로는 Web의 통제권이 완전히 modal창으로 넘어가서 window.open 처럼 다른 화면이 아닌 단일창처럼 보여지는게 아닌가 생각됩니다. 결국 main창과 modal창은 다른 window지만 modal창이 main창의 프로세싱을 넘겨받아서 main창의 작업을 중단시켜 놓는것이 아닌가 생각됩니다. 사용법 var dialogAnswer = window.showModalDialog(팝업.html, 모.. 2015. 5. 10. 이전 1 2 3 4 5 6 7 ··· 11 다음