{"id":375,"date":"2012-01-08T23:30:31","date_gmt":"2012-01-08T23:30:31","guid":{"rendered":"http:\/\/brain.dailyon.net\/?p=375"},"modified":"2012-01-08T23:30:31","modified_gmt":"2012-01-08T23:30:31","slug":"html-readonly-%ec%99%80-disabled-%ec%9d%98-%ec%b0%a8%ec%9d%b4","status":"publish","type":"post","link":"https:\/\/blog.goorigo.com\/?p=375","title":{"rendered":"html : readonly \uc640 disabled \uc758 \ucc28\uc774"},"content":{"rendered":"<p>\uac12\uc744 \uc804\ub2ec\ud558\ub294 fom \uc548\uc758 input \uc5d0\ub294 \uc5ec\ub7ec \uc885\ub958\uc758 \ud0c0\uc78e \ub4e4\uc774 \uc788\ub2e4.<\/p>\n<p>\uc608\ub97c \ub4e4\uba74<br \/>\ntext<\/p>\n<p>hidden<\/p>\n<p>checkbox<\/p>\n<p>radio<\/p>\n<p>select<\/p>\n<p>&nbsp;<\/p>\n<p>text \uc18d\uc131\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub294 readonly \uae30\ub2a5\uc744 \uc81c\uacf5\ud55c\ub2e4. \uc774 \uae30\ub2a5\uc744 \uc4f0\uba74 \ucef4\ud3ec\ub10c\ud2b8\ub294 \uc4f0\uae30\uac00 \ubc29\uc9c0 \ub418\ub294 \ud6a8\uacfc\ub97c \uac00\uc9c8 \uc218 \uc788\ub2e4.<\/p>\n<p>\uadf8\ub7ec\ub098 checkbox , radio , select \uc5d0\ub294 readonly \uae30\ub2a5\uc774 \uc5c6\uace0 \uc4f0\uae30 \ubc29\uc9c0\ub97c \uc704\ud55c disabled \uae30\ub2a5\ub9cc \uc874\uc7ac\ud55c\ub2e4.<\/p>\n<p>\uadf8\ub807\ub2e4\uba74 \ub450 \uae30\ub2a5\uc758 \ucc28\uc774\ub294 \ubb34\uc5c7\uc77c\uae4c??<\/p>\n<p>\u261e?\uadf8\uac83\uc740 \ubc14\ub85c Controller\uc5d0\uc11c \uac12\uc744 \uc77d\uc5b4 \ub4e4\uc774\ub290\ub0d0 \ubabb \uc77d\ub290\ub0d0\uc5d0 \uc788\ub2e4.<\/p>\n<p>readonly \uc18d\uc131\uc740 \uc4f0\uae30\ub9cc \ubc29\uc9c0\ub420 \ubfd0 request.getParameter(&#8220;name&#8221;)\uc73c\ub85c \uc77d\uc744 \uc218 \uc788\ub294 \ubc18\uba74<\/p>\n<p>disabled \uc18d\uc131\uc740 \uc544\uc608 DOM \uac1d\uccb4\uc5d0\uc11c \uc0ac\ub77c\uc9c0\uae30 \ub54c\ubb38\uc5d0 request.getParameter(&#8220;name&#8221;) \uc73c\ub85c \uac12\uc744 \uc77d\uc5b4 \ub4e4\uc77c \uc218?<span style=\"color: #e31600\">\uc5c6\ub2e4<\/span>.<\/p>\n<p>checkbox \ub098 radio , select \ub97c \uc4f0\uae30\ubc29\uc9c0\ub294?\ub418\uc9c0\ub9cc \ucee8\ud2b8\ub864\ub7ec\uac00 \uac12\uc744 \uc77d\uc5b4\uc624\uac8c \ud558\uae30 \uc704\ud574\uc11c\ub294 \uc0ac\uc2e4 disabled \ub294 \ub2f5\uc774 \uc5c6\ub2e4.<\/p>\n<p>\ub530\ub77c\uc11c \uc6b0\ud68c\uc801\uc778 \ubc29\ubc95\uc744 \uc4f0\uace4 \ud55c\ub2e4.<\/p>\n<p>\uc774\ub984\uc774 \ub3d9\uc77c\ud55c \ud788\ub4e0\uac12\uc744 \ub9cc\ub4e4\uc5b4 \ub450\uc5b4\uc11c?\ud56d\uc0c1 \uac19\uc740 \uac12\uc774 \uc720\uc9c0\ub418\ub3c4\ub85d \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ud568\uc218\ub85c \ub9cc\ub4e4\uc5b4 \ub193\uace0 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc774\ub2e4.<\/p>\n<p>\uac04\ub2e8\ud55c \uc0d8\ud50c\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n<p>&lt;input name=&#8221;test&#8221; type=&#8221;checkbox&#8221; disabled=&#8221;disabled&#8221; value=&#8221;1&#8243;\/&gt;<br \/>\n&lt;input name=&#8221;test&#8221; type=&#8221;hidden&#8221;? value=&#8221;1&#8243;\/&gt;<\/p>\n<p>\ud45c\ud604\ub9cc \ud558\uace0 \ub2e4\uc74c\ubc88\uc5d0 \ub2e4\uc2dc \uc77d\uc5b4\uc640\uc57c \ud558\ub294 \uacbd\uc6b0\ub77c\uba74?(\uc2e0\uccad\uc11c\ub97c \uc218\uc815\ud560 \ub54c,\uc218\uc815 \ubd88\uac00\ub2a5\ud55c \ud56d\ubaa9\uc744 \ub9cc\ub4e4\uace0 \uc2f6\uc740 \uacbd\uc6b0?)<br \/>\n\uc544\ub798 \ud45c\ud604\ucc98\ub7fc \uc4f0\uba74 \ub418\uaca0\ub2e4.<\/p>\n<p>&lt;input name=&#8221;test&#8221; type=&#8221;checkbox&#8221; disabled=&#8221;disabled&#8221; value=&#8221;${val}&#8221;\/&gt;<br \/>\n&lt;input name=&#8221;test&#8221; type=&#8221;hidden&#8221;? value=&#8221;${val}&#8221;\/&gt;<\/p>\n<p>\ucd9c\ucc98 \ud83d\ude15<a href=\"http:\/\/jhoonslife.tistory.com\/tag\/disabled\">http:\/\/jhoonslife.tistory.com\/tag\/disabled<\/a><\/p>\n<p>================================================================<span style=\"color: #000000\">\ud14d\uc2a4\ud2b8 \ud544\ub4dc, Textarea, Radiobutton, Checkbox\ub4f1\uc744 \uc0ac\uc6a9\ubabb\ud558\uac8c \ud560\ub54c?<span style=\"color: #0033ff\">disabled<\/span>?\uc635\uc158\uc744 \uc0ac\uc6a9\ud558\uba74 \ub429\ub2c8\ub2e4.<\/span><\/p>\n<table width=\"580\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" align=\"center\" bgcolor=\"#999999\">\n<tbody>\n<tr align=\"center\" bgcolor=\"#ffffff\">\n<td width=\"150\"><\/td>\n<td align=\"center\">&lt;input type=text size=20 value=&#8221;\uc9c0\uc6cc\ubcf4\uc138\uc694.&#8221;&gt;<\/td>\n<\/tr>\n<tr bgcolor=\"#ffffff\">\n<td align=\"center\"><\/td>\n<td align=\"center\">&lt;input type=text size=20 value=&#8221;\uc9c0\uc6b8\uc218 \uc5c6\uc74c.&#8221;?<span style=\"color: #0033ff\">disabled<\/span>&gt;<\/td>\n<\/tr>\n<tr bgcolor=\"#ffffff\">\n<td align=\"center\"><textarea name=\"textfield\"><\/textarea><\/td>\n<td align=\"center\">&lt;textarea wrap=&#8221;VIRTUAL&#8221; cols=&#8221;20&#8243; &gt;Textarea&lt;\/textarea&gt;<\/td>\n<\/tr>\n<tr bgcolor=\"#ffffff\">\n<td align=\"center\"><textarea name=\"textfield\" disabled=\"disabled\"><\/textarea><\/td>\n<td align=\"center\">&lt;textarea wrap=&#8221;VIRTUAL&#8221; cols=&#8221;20&#8243;?<span style=\"color: #0033ff\">disabled<\/span>&gt;Textarea&lt;\/textarea&gt;<\/td>\n<\/tr>\n<tr bgcolor=\"#ffffff\">\n<td align=\"center\">??<\/td>\n<td align=\"center\">&lt;input type=&#8221;checkbox&#8221; name=&#8221;checkbox&#8221; value=&#8221;checkbox&#8221;&gt;<br \/>\n&lt;input type=&#8221;radio&#8221; name=&#8221;radiobutton&#8221; value=&#8221;radiobutton&#8221;&gt;<\/td>\n<\/tr>\n<tr bgcolor=\"#ffffff\">\n<td align=\"center\">???(\uc801\uc6a9\uc2dc)<\/td>\n<td align=\"center\">&lt;input type=&#8221;checkbox&#8221; name=&#8221;checkbox&#8221; value=&#8221;checkbox&#8221;?<span style=\"color: #0033ff\">disabled<\/span>&gt;<br \/>\n&lt;input type=&#8221;radio&#8221; name=&#8221;radiobutton&#8221; value=&#8221;radiobutton&#8221;?<span style=\"color: #0033ff\">disabled<\/span>checked&gt;<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" bgcolor=\"#ffffff\">\u25cb \ucc38\uace0\ub85c disabled\uc640 readonly\ub294 \ub458\ub2e4 \uac12\uc744 \uc218\uc815\ud560 \uc218 \uc5c6\ub3c4\ub85d \ud558\ub294 \uc18d\uc131\uc785\ub2c8\ub2e4.<br \/>\n\u25cb \ub2e4\ub9cc readonly\ub294 \uadf8 \uac12\uc744 \ud3fc\uc744 \ud1b5\ud574 \uc804\uc1a1\ud558\uc9c0\ub9cc disabled \ub294 \uac12\uc744 \uc544\uc608 \uc804\uc1a1\ud558\uc9c0 \uc54a\ub294 \ucc28\uc774\uac00 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n\u25cb \uadf8\ub7ec\ubbc0\ub85c \uc0ac\uc6a9\ud558\uc2e4 \ub54c\ub294 \ub450 \uc18d\uc131\uc744 \uad6c\ubd84\ud558\uc154\uc11c \uc0ac\uc6a9\ud558\uc138\uc694.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\uac12\uc744 \uc804\ub2ec\ud558\ub294 fom \uc548\uc758 input \uc5d0\ub294 \uc5ec\ub7ec \uc885\ub958\uc758 \ud0c0\uc78e \ub4e4\uc774 \uc788\ub2e4. \uc608\ub97c \ub4e4\uba74 text hidden checkbox radio select &nbsp; text \uc18d\uc131\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub294 readonly \uae30\ub2a5\uc744 \uc81c\uacf5\ud55c\ub2e4. \uc774 \uae30\ub2a5\uc744 \uc4f0\uba74 \ucef4\ud3ec\ub10c\ud2b8\ub294 \uc4f0\uae30\uac00&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/375"}],"collection":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":0,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.goorigo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}