{"id":236,"date":"2002-06-29T00:48:11","date_gmt":"2002-06-29T00:48:11","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=236"},"modified":"2002-06-29T00:48:11","modified_gmt":"2002-06-29T00:48:11","slug":"%eb%8b%a4%ec%a4%91%ec%85%80%eb%a0%89%ed%8a%b8","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=236","title":{"rendered":"\ub2e4\uc911\uc140\ub809\ud2b8"},"content":{"rendered":"<p>phpschool \ubc15\uc0c1\uad6d<\/p>\n<p>\uae30\uc874\uc5d0 \uc62c\ub77c\uc628 \ub2e4\uc911 \uc138\ub809\ud2b8\ub4e4\uc774 \ub9ce\uae30\ub294 \ud558\uc9c0\ub9cc \uc2e4\uc81c \uc6f9\ud398\uc774\uc9c0\uc5d0 \uc801\uc6a9\ud558\ub824\uba74 <br \/>\n\uc18c\uc2a4\ub97c \uc218\uc815\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uac00 \ub9ce\uc558\uc2b5\ub2c8\ub2e4. <br \/>\n\ub2e4\uc911 \ud3fc\uc774 \uc801\uc6a9\ub41c \ud398\uc774\uc9c0 \uc774\uac70\ub098 \ud3fc\uc774\ub984\uc774 \ub2e4\ub978\uacbd\uc6b0, \uac01 Element\uc758 \uc774\ub984\uc744 <br \/>\n\ub2ec\ub9ac \ud558\ub824\ub3c4 \uc18c\uc2a4\uc218\uc815\uc740 \ubd88\uac00\ud53c \ud55c\uac70 \uac19\ub354\uad70\uc694.. <br \/>\n\uadf8\ub798\uc11c \uc774\ub7ec\ud55c \ud658\uacbd\uc5d0 \ub3c5\ub9bd\uc801\uc73c\ub85c \ub3d9\uc791\ud560 \uc218 \uc788\uac8c\ub054 \ub9cc\ub4e4\uc5b4 \ubd24\uc2b5\ub2c8\ub2e4. <\/p>\n<p>\ud2b9\uc9d5 : <br \/>\n1. \ub2e4\uc911\ud3fc, \ud3fc\ub124\uc784\uc744 \ubcc0\uacbd\ud558\uc5ec\ub3c4 \uc18c\uc2a4\uc758 \uc218\uc815\uc774 \ud544\uc694\uc5c6\ub2e4. <br \/>\n2. Element\uc758 \uc774\ub984 \uc815\uc815\uc774 \uc6a9\uc774\ud558\ub2e4. <br \/>\n3. \uc218\uc815\uc5c6\uc774 \uc5b4\ub290 \ud398\uc774\uc9c0\ub098 \ubc14\ub85c \uc0ac\uc6a9\uc774 \uac00\ub2a5\ud558\ub2e4. <\/p>\n<p>\uc18c\uc2a4 : <\/p>\n<p>\n<Script Language='javaScript'> <br \/>\n<!-- <br \/>\n\/\/==========================================================\/\/ <br \/>\n\/\/ Element \ubc0f \uac12 \uc815\uc758 <br \/>\n\/\/==========================================================\/\/ \n\n\nFirstSelectName = \"sel1\";\/\/ \ucc98\uc74c Select Element\uc758 \uc774\ub984 <br \/>\nSecondSelectName = \"sel2\";\/\/ \ub450\ubc88\uc9f8 Select Element\uc758 \uc774\ub984 \n\n\nFirstSelectText = new Array(\"\uac00\",\"\ub098\"); <br \/>\nFirstSelectValue = new Array(\"a\",\"b\"); \n\n\nSecondSelectText = new Array(); <br \/>\nSecondSelectValue = new Array(); \n\n\nSecondSelectText[0] = new Array(\"A\",\"B\",\"C\"); <br \/>\nSecondSelectText[1] = new Array(\"D\",\"E\",\"F\",\"G\"); <br \/>\nSecondSelectValue[0] = new Array(\"A\",\"B\",\"C\"); <br \/>\nSecondSelectValue[1] = new Array(\"D\",\"E\",\"F\",\"G\"); \n\n\n\/\/==========================================================\/\/ <br \/>\n\/\/--> <br \/>\n<\/script> <\/p>\n<p>\n<Script Language='JavaScript'> <br \/>\n<!-- <br \/>\n\/\/ \ud604\uc7ac\uc758 Element\ub4e4\uc774 \uc18d\ud574\uc788\ub294 form\uc758 \uc704\uce58\ub97c \uc790\ub3d9\uc73c\ub85c \ucc3e\ucc28\uc8fc\ub294 \ud568\uc218 <br \/>\nthisFormCheckString = \"This_is_Dynamic_Select_Form\"; <br \/>\ndocument.write(\"<input type='hidden' name='\"+thisFormCheckString+\"'>\"); <br \/>\nfunction FindThisFormName() <br \/>\n{ <br \/>\nvar d = document; <br \/>\nvar n = d.forms.length; <br \/>\nif(n == 0)return 0; \n\n\nfor(var i=0;i<n;i++) <br \/>\n{ <br \/>\nvar e = d.forms[i].elements; <br \/>\nfor(var x=0;x<e.length;x++) <br \/>\n{ <br \/>\nif(e[x].name == thisFormCheckString) <br \/>\nreturn i; <br \/>\n} <br \/>\n} \n\n\nreturn \"_Nothing_\"; <br \/>\n} \n\n\nthisFormName = FindThisFormName();\/\/ \ud604\uc7ac\ud3fc <br \/>\nif(thisFormName == \"_Nothing_\") <br \/>\n{ <br \/>\nvar FormIsCreated = \"Dynamic_Select_Form\"; <br \/>\nthisFormName = FormIsCreated; <br \/>\ndocument.write(\"\n\n<form name='\"+FormIsCreated+\"'>\"); <br \/>\n} \n\n\nfunction CreateSecondSelect() <br \/>\n{ <br \/>\nvar f = document.forms[thisFormName]; <br \/>\nvar n = f[FirstSelectName].selectedIndex; <br \/>\nvar l = SecondSelectText[n].length; <br \/>\nf[SecondSelectName].options.length = l; \n\n\nfor(var i=0;i<l;i++) <br \/>\n{ <br \/>\nf[SecondSelectName].options[i].text = SecondSelectText[n][i]; <br \/>\nf[SecondSelectName].options[i].value = SecondSelectValue[n][i]; <br \/>\n} <br \/>\nf[SecondSelectName].selectedIndex=0; <br \/>\n} <br \/>\n\/\/--> <br \/>\n<\/script> <\/p>\n<p>\n<Script Language='JavaScript'> <br \/>\n<!-- <br \/>\ndocument.write(\"<select name='\"+FirstSelectName+\"' onChange='CreateSecondSelect()'>\"); <br \/>\nfor(var i=0;i < FirstSelectText.length;i++) <br \/>\ndocument.write(\"<option value='\"+FirstSelectValue[i]+\"'>\"+FirstSelectText[i]+\"<\/option>\"); <br \/>\ndocument.write(\"<\/select>\"); <br \/>\n\/\/--> <br \/>\n<\/script> <\/p>\n<p>\n<Script Language='JavaScript'> <br \/>\n<!-- <br \/>\ndocument.write(\"<select name='\"+SecondSelectName+\"'>\"); <br \/>\ndocument.write(\"<option value=''><\/option>\"); <br \/>\ndocument.write(\"<\/select>\"); \n\n\nif(FormIsCreated) document.write(\"<\/form>\n\n\"); <br \/>\nCreateSecondSelect(); <br \/>\n\/\/--> <br \/>\n<\/script> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpschool \ubc15\uc0c1\uad6d \uae30\uc874\uc5d0 \uc62c\ub77c\uc628 \ub2e4\uc911 \uc138\ub809\ud2b8\ub4e4\uc774 \ub9ce\uae30\ub294 \ud558\uc9c0\ub9cc \uc2e4\uc81c \uc6f9\ud398\uc774\uc9c0\uc5d0 \uc801\uc6a9\ud558\ub824\uba74 \uc18c\uc2a4\ub97c \uc218\uc815\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uac00 \ub9ce\uc558\uc2b5\ub2c8\ub2e4. \ub2e4\uc911 \ud3fc\uc774 \uc801\uc6a9\ub41c \ud398\uc774\uc9c0 \uc774\uac70\ub098 \ud3fc\uc774\ub984\uc774 \ub2e4\ub978\uacbd\uc6b0, \uac01 Element\uc758 \uc774\ub984\uc744 \ub2ec\ub9ac \ud558\ub824\ub3c4 \uc18c\uc2a4\uc218\uc815\uc740 \ubd88\uac00\ud53c \ud55c\uac70 \uac19\ub354\uad70\uc694.. \uadf8\ub798\uc11c \uc774\ub7ec\ud55c \ud658\uacbd\uc5d0 \ub3c5\ub9bd\uc801\uc73c\ub85c \ub3d9\uc791\ud560 \uc218 \uc788\uac8c\ub054 \ub9cc\ub4e4\uc5b4 \ubd24\uc2b5\ub2c8\ub2e4. \ud2b9\uc9d5 : 1. \ub2e4\uc911\ud3fc, \ud3fc\ub124\uc784\uc744 \ubcc0\uacbd\ud558\uc5ec\ub3c4 \uc18c\uc2a4\uc758 \uc218\uc815\uc774 \ud544\uc694\uc5c6\ub2e4. 2. Element\uc758 \uc774\ub984 \uc815\uc815\uc774 \uc6a9\uc774\ud558\ub2e4. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}