{"id":566,"date":"2012-12-30T21:34:54","date_gmt":"2012-12-30T13:34:54","guid":{"rendered":"https:\/\/sdeno.com\/?p=566"},"modified":"2013-05-27T17:38:33","modified_gmt":"2013-05-27T09:38:33","slug":"input%e6%96%87%e6%9c%ac%e6%a1%86%e9%87%8c%e9%9d%a2%e6%8f%92%e5%85%a5%e5%b0%8f%e5%9b%be%e7%89%87","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=566","title":{"rendered":"input\u6587\u672c\u6846\u91cc\u9762\u63d2\u5165\u5c0f\u56fe\u7247"},"content":{"rendered":"<p>input\u6587\u672c\u6846\u91cc\u9762\u63d2\u5165\u5c0f\u56fe\u7247<\/p>\n<a href=\"https:\/\/sdeno.com\/input%e6%96%87%e6%9c%ac%e6%a1%86%e9%87%8c%e9%9d%a2%e6%8f%92%e5%85%a5%e5%b0%8f%e5%9b%be%e7%89%87\/inputtu\/\" rel=\"attachment wp-att-567\"><figure class=\"mdx-lazyload-container\" style=\"max-width:220px\"><div style=\"padding-top:93.636363636364%\"><\/div><div class=\"mdx-img-loading-sp mdui-valign\"><div><div class=\"mdui-spinner\"><\/div><\/div><\/div><img width=\"220\" height=\"206\" class=\"alignnone size-full wp-image-567 lazyload\" title=\"inputtu\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"https:\/\/sdeno.com\/wp-content\/uploads\/2012\/12\/inputtu.jpg\" alt=\"inputtu\"><\/figure><\/a>\n<p>&nbsp;<\/p>\n<p>[code]&lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text\/html;charset=utf-8&#8243; \/&gt;<br \/>\n&lt;style type=&#8221;text\/css&#8221;&gt;<br \/>\nbody { font-family: Arial, Helvetica, Sans-serif; font-size:13px;}<br \/>\n#sampleForm label { display:block; margin-top:10px;}<br \/>\n#sampleForm input[type=&#8221;text&#8221;] { width:200px; border:solid 1px #000; padding:3px 0px;}<br \/>\n#sampleForm img { vertical-align:middle; cursor:pointer; }<br \/>\n.imageInputWrapper{ width:200px; border:solid 1px #000; }<br \/>\n#sampleForm input.inputWithImge { width:175px; border:none; margin-right:5px;}<br \/>\n&lt;\/style&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;JS\u5e93\u8def\u5f84&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221;&gt;<br \/>\n$(document).ready(function() {<br \/>\n$(&#8220;.inputWithImge&#8221;).each(function(){<br \/>\n$(this).add($(this).next()).wrapAll(&#8216;&lt;div class=&#8221;imageInputWrapper&#8221;&gt;&lt;\/div&gt;&#8217;);<br \/>\n});<br \/>\n});<br \/>\n&lt;\/script&gt;[\/code]<\/p>\n<p>&nbsp;<\/p>\n<p>[code]&lt;fieldset id=&#8221;sampleForm&#8221;&gt;<br \/>\n&lt;label for=&#8221;txtName&#8221;&gt;Full name&lt;\/label&gt;<br \/>\n&lt;input id=&#8221;txtName&#8221; type=&#8221;text&#8221; \/&gt;<br \/>\n&lt;label for =&#8221;txtDOB&#8221;&gt;Date of birth&lt;\/label&gt;<br \/>\n&lt;input id=&#8221;txtDOB&#8221; type=&#8221;text&#8221; class=&#8221;inputWithImge&#8221; \/&gt;<br \/>\n&lt;img src=&#8221;\u56fe\u7247\u8def\u5f84&#8221; alt=&#8221;Click to popup the clendar!&#8221; onclick=&#8221;alert(&#8216;Popup some calendar here!&#8217;);&#8221; \/&gt;<br \/>\n&lt;label for=&#8221;txtBank&#8221;&gt;Bank&lt;\/label&gt;<br \/>\n&lt;input id=&#8221;txtBank&#8221; type=&#8221;text&#8221; class=&#8221;inputWithImge&#8221; \/&gt;<br \/>\n&lt;img src=&#8221;\u56fe\u7247\u8def\u5f84&#8221; alt=&#8221;Click to popup the bank window!&#8221; onclick=&#8221;alert(&#8216;Popup some window here!&#8217;);&#8221; \/&gt;<br \/>\n&lt;\/fieldset&gt;<br \/>\n&lt;button id=&#8221;btnNothingToDo&#8221;&gt;Do nothing&lt;\/button&gt;[\/code]<\/p>\n<p>\u8fd8\u6709\u4e00\u79cd\u662f\u7eafCSS\u7f16\u5199\u7684\u65b9\u6cd5\uff1a<a href=\"https:\/\/sdeno.com\/input%E6%90%9C%E7%B4%A2%E6%96%87%E6%9C%AC%E6%A1%86%E4%B8%AD%E6%B7%BB%E5%8A%A0%E6%8F%92%E5%85%A5%E5%B0%8F%E5%9B%BE%E7%89%87\/\">\u300ainput\u641c\u7d22\u6587\u672c\u6846\u4e2d\u6dfb\u52a0\u63d2\u5165\u5c0f\u56fe\u7247\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>input\u6587\u672c\u6846\u91cc\u9762\u63d2\u5165\u5c0f\u56fe\u7247 &nbsp; [code]&lt;meta http-equiv=&#038;#8221 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,13],"tags":[],"class_list":["post-566","post","type-post","status-publish","format-standard","hentry","category-css","category-11","category-jquery"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=566"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}