{"id":41,"date":"2007-08-21T16:08:04","date_gmt":"2007-08-21T08:08:04","guid":{"rendered":"http:\/\/www.cnmiss.cn\/?p=40"},"modified":"2010-12-02T06:31:46","modified_gmt":"2010-12-02T06:31:46","slug":"%e5%8a%a8%e6%80%81%e8%be%93%e5%85%a5%e6%a1%86%e7%9a%84%e4%b8%89%e4%b8%aa%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.cnmiss.cn\/?p=41","title":{"rendered":"\u52a8\u6001\u8f93\u5165\u6846\u7684\u4e09\u4e2a\u51fd\u6570"},"content":{"rendered":"<blockquote><p>&lt;%<br \/>Function cTextBox(name, value, size)<br \/>Response.Write&quot;&lt;input type=text name=&#39;&quot;&#038;name&#038;&quot;&#39; value=&#39;&quot;&#038;value&#038;&quot;&#39; size=&#39;&quot;&#038;size&#038;&quot;&#39;&gt;&quot;&#038;vbcrlf<br \/>Response.Write cTextBox(&quot;NAME&quot;, &quot;1&quot;, &quot;12&quot;) &#038;vbcrlf<br \/>End Function<br \/>Function cCheckBox(name, value, checked)<br \/>Response.Write&quot;&lt;input type=checkbox name=&#39;&quot;&#038;name&#038;&quot;&#39; value=&#39;&quot;&#038;value&#038;&quot;&#39;&quot;<br \/>If checked = 1 Then Response.Write&quot; CHECKED&quot;<br \/>Response.Write&quot;&gt;&quot;<br \/>End Function<br \/>Function cRadio(name, value, checked)<br \/>Response.Write&quot;&lt;input type=radio name=&#39;&quot;&#038;name&#038;&quot;&#39; value=&#39;&quot;&#038;value&#038;&quot;&#39;&quot;<br \/>If checked = 1 Then Response.Write&quot; CHECKED&quot;<br \/>Response.Write&quot;&gt;&quot;<br \/>End Function<br \/>%&gt;<br \/>&lt;html&gt;<br \/>&lt;body&gt;<br \/>&lt;%<br \/>&#39;just declaring a couple of static variables here,<br \/>&#39;but you can create cbname and cbvalue any way you like.<br \/>&#39;use a recordset, or Request collection too:<br \/>cbname = &quot;checkbox_name&quot;<br \/>cbvalue = &quot;act&quot;<\/p>\n<p>Response.Write &quot;My Checkbox: &quot;&#038;cCheckBox(cbname, cbvalue, 1)&#038;&quot; &quot;<\/p>\n<p>&#39;or, write a radio button like this:<br \/>Response.Write cRadio(cbname, cbvalue, 1)<\/p>\n<p>%&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&lt;%Function cTextBox(name, value, size &hellip; <a href=\"https:\/\/www.cnmiss.cn\/?p=41\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-xxbj","tag-asp"],"_links":{"self":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":0,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cnmiss.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}