98 | 아 아래질문에 추가로 | dd | 2024-12-25 18:39:38 | 321 |
dd | 2024-12-25 18:39:38 | 321 hits | ||||
test .html소스를 다음과같이바꿈
form { width: 330px; margin: 20px; background-color: pink; Padding: 20px; } input { text-align: right; } var pw; function create_form(_name, _action, _method, _target) { var instance = document.createElement("form"); instance.name = _name; instance.acti> instance.method = _method; instance.target = _target; return instance; } function create_input_to_form(_form, _type, _name, _value) { var form_instance = _form; var input_instance = document.createElement("input"); input_instance.type = _type; input_instance.name = _name; input_instance.value = _value; form_instance.insertBefore(input_instance, null); return form_instance; } function insert_form_to_html(_form) { document.body.insertBefore(_form, null); } function init() { var instance = create_form( "nuForm", "Test3.html", "post", "postWindow"); insert_form_to_html(instance); pw = window.open("", "postWindow", "width=300, height=400"); instance.submit(); if (pw == null) { alert("error;"); } else { pw.document. { alert("wow"); } [removed]("1"); pw. { alert("wow2"); } [removed]("2"); setTimeout(function(){ alert("wow3"); alert(pw.document.title); }, 3000); [removed]("3"); } } alert("wow"); alert(pw.document.title); 이 세개가 실행이 안되는 이유좀 |
||||
(^오^) "Cool~" 0 |
(-_-) "Damn!" 0
|
목록 | 수정 삭제 |
목록 | 수정 삭제 |
19 | 게임하고싶은데 돈이 없다아아 [0] | 북극레밍 | 2024-12-20 15:01:27 | 351 |
북극레밍 | 2024-12-20 15:01:27 | 351 hits | ||||
18 | 근데 노동청에 신고때리면 돈은 어떻게되는거얌? [0] | 북극레밍 | 2024-12-20 15:00:21 | 408 |
북극레밍 | 2024-12-20 15:00:21 | 408 hits | ||||
17 | 임베디드 리눅스할려면 리눅스알아야하나요? [0] | dqwq | 2024-12-20 14:59:14 | 338 |
dqwq | 2024-12-20 14:59:14 | 338 hits | ||||
16 | 비트코인으로 돈번 썰 (스압) [0] | 응딩이 | 2024-12-20 14:58:07 | 369 |
응딩이 | 2024-12-20 14:58:07 | 369 hits | ||||
15 | 출동! 오토봇! [0] | 김자동 | 2024-12-18 14:33:10 | 396 |
김자동 | 2024-12-18 14:33:10 | 396 hits | ||||
12 | IT에 대해 제대로 알려주겠다. [0] | 개발자 | 2024-12-13 14:09:22 | 331 |
개발자 | 2024-12-13 14:09:22 | 331 hits | ||||
10 | 안녕하세요, 컴공진학 희망하는 급식이 입니다. [1] 3 | 프린이 | 2024-10-22 13:39:09 | 382 |
프린이 | 2024-10-22 13:39:09 | 382 hits | ||||
9 | 광주 사는 앱쟁이 입니다. [2] 1 | 앱마스터 | 2024-10-19 21:12:20 | 403 |
앱마스터 | 2024-10-19 21:12:20 | 403 hits |