{"id":654,"date":"2010-12-14T09:31:10","date_gmt":"2010-12-14T01:31:10","guid":{"rendered":""},"modified":"2014-03-11T22:35:18","modified_gmt":"2014-03-11T14:35:18","slug":"%e6%ad%a3%e5%88%99%e9%99%90%e5%88%b6input%e6%a1%86%e5%8f%aa%e8%83%bd%e8%be%93%e5%85%a5%e6%95%b0%e5%ad%97%e8%8b%b1%e6%96%87%e7%ad%89","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2010\/12\/14\/654.htm","title":{"rendered":"\u6b63\u5219\u9650\u5236input\u6846\u53ea\u80fd\u8f93\u5165\u6570\u5b57,\u82f1\u6587\u7b49"},"content":{"rendered":"<div style=\"font-size: 10pt\">\n<div minmax_bound=\"true\">\u5e38\u7528HTML\u6b63\u5219\u8868\u8fbe\u5f0f<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.\u53ea\u80fd\u8f93\u5165\u6570\u5b57\u548c\u82f1\u6587\u7684\uff1a <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input onkeyup=&quot;value=value.replace(\/[\\W]\/g,&#8221;) &quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onbeforepaste=&quot;clipboardData.setData(&#8216;text&#8217;,clipboardData.getData(&#8216;text&#8217;).replace(\/[^\\d]\/g,&#8221;))&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID=&quot;Text1&quot; NAME=&quot;Text1&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.\u53ea\u80fd\u8f93\u5165\u6570\u5b57\u7684\uff1a <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input onkeyup=&quot;value=value.replace(\/[^\\d]\/g,&#8221;) &quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onbeforepaste=&quot;clipboardData.setData(&#8216;text&#8217;,clipboardData.getData(&#8216;text&#8217;).replace(\/[^\\d]\/g,&#8221;))&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID=&quot;Text2&quot; NAME=&quot;Text2&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.\u53ea\u80fd\u8f93\u5165\u5168\u89d2\u7684\uff1a <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input onkeyup=&quot;value=value.replace(\/[^\\uFF00-\\uFFFF]\/g,&#8221;)&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onbeforepaste=&quot;clipboardData.setData(&#8216;text&#8217;,clipboardData.getData(&#8216;text&#8217;).replace(\/[^\\uFF00-\\uFFFF]\/g,&#8221;))&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID=&quot;Text3&quot; NAME=&quot;Text3&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.\u53ea\u80fd\u8f93\u5165\u6c49\u5b57\u7684\uff1a <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input onkeyup=&quot;value=value.replace(\/[^\\u4E00-\\u9FA5]\/g,&#8221;)&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onbeforepaste=&quot;clipboardData.setData(&#8216;text&#8217;,clipboardData.getData(&#8216;text&#8217;).replace(\/[^\\u4E00-\\u9FA5]\/g,&#8221;))&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID=&quot;Text4&quot; NAME=&quot;Text4&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.\u90ae\u4ef6\u5730\u5740\u9a8c\u8bc1\uff1a<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var regu = <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^(([0-9a-zA-Z]+)|([0-9a-zA-Z]+[_.0-9a-zA-Z-]*[0-9a-zA-Z]+))@([a-zA-Z0-9-]+[.])+([a-zA-Z]{2}|net|NET|com|COM|gov|GOV|mil|MIL|org|ORG|edu|EDU|int|INT)$&quot;<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var re = new RegExp(regu);<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (s.search(re) != -1) {<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } else {<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.alert (&quot;\u8bf7\u8f93\u5165\u6709\u6548\u5408\u6cd5\u7684E-mail\u5730\u5740 \uff01&quot;)<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6.\u8eab\u4efd\u8bc1\uff1a<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^\\\\d{17}(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\d|x)$<\/span><\/a>&quot;<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7.17\u79cd\u6b63\u5219\u8868\u8fbe\u5f0f<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^\\\\d+$&quot;\u3000\u3000\/\/\u975e\u8d1f\u6574\u6570\uff08\u6b63\u6574\u6570 + 0\uff09 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[0-9]*[1-9][0-9]*$&quot;\u3000\u3000\/\/\u6b63\u6574\u6570 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^((-\\\\d+)|(0+))$&quot;\u3000\u3000\/\/\u975e\u6b63\u6574\u6570\uff08\u8d1f\u6574\u6570 + 0\uff09 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^-[0-9]*[1-9][0-9]*$&quot;\u3000\u3000\/\/\u8d1f\u6574\u6570 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^-?\\\\d+$&quot;\u3000\u3000\u3000\u3000\/\/\u6574\u6570 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^\\\\d+(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\.\\\\d+)?$<\/span><\/a>&quot;\u3000\u3000\/\/\u975e\u8d1f\u6d6e\u70b9\u6570\uff08\u6b63\u6d6e\u70b9\u6570 + 0\uff09 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^(([0-9]+\\\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\\\.[0-9]+)|([0-9]*[1-9][0-9]*))$&quot;\u3000\u3000\/\/\u6b63\u6d6e\u70b9\u6570<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^((-\\\\d+(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\.\\\\d+)?)|(0+(\\\\.0+)?))$<\/span><\/a>&quot;\u3000\u3000\/\/\u975e\u6b63\u6d6e\u70b9\u6570\uff08\u8d1f\u6d6e\u70b9\u6570 + 0\uff09 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^(-(([0-9]+\\\\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\\\\.[0-9]+)|([0-9]*[1-9][0-9]*)))$&quot;\u3000\u3000\/\/\u8d1f\u6d6e\u70b9\u6570<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^(-?\\\\d+)(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\.\\\\d+)?$<\/span><\/a>&quot;\u3000\u3000\/\/\u6d6e\u70b9\u6570 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[A-Za-z]+$&quot;\u3000\u3000\/\/\u753126\u4e2a\u82f1\u6587\u5b57\u6bcd\u7ec4\u6210\u7684\u5b57\u7b26\u4e32 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[A-Z]+$&quot;\u3000\u3000\/\/\u753126\u4e2a\u82f1\u6587\u5b57\u6bcd\u7684\u5927\u5199\u7ec4\u6210\u7684\u5b57\u7b26\u4e32 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[a-z]+$&quot;\u3000\u3000\/\/\u753126\u4e2a\u82f1\u6587\u5b57\u6bcd\u7684\u5c0f\u5199\u7ec4\u6210\u7684\u5b57\u7b26\u4e32 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[A-Za-z0-9]+$&quot;\u3000\u3000\/\/\u7531\u6570\u5b57\u548c26\u4e2a\u82f1\u6587\u5b57\u6bcd\u7ec4\u6210\u7684\u5b57\u7b26\u4e32 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^\\\\w+$&quot;\u3000\u3000\/\/\u7531\u6570\u5b57\u300126\u4e2a\u82f1\u6587\u5b57\u6bcd\u6216\u8005\u4e0b\u5212\u7ebf\u7ec4\u6210\u7684\u5b57\u7b26\u4e32 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[\\\\w-]+(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\.[\\\\w-]+)*@[\\\\w-]+(\\\\.[\\\\w-]+)+$<\/span><\/a>&quot;\u3000\u3000\u3000\u3000\/\/email\u5730\u5740 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;^[a-zA-z]+:\/\/(<a minmax_bound=\"true\"><span minmax_bound=\"true\" style=\"color: #c50000\">\\\\w+(-\\\\w+)*)(\\\\.(\\\\w+(-\\\\w+)*))*(\\\\?\\\\S*)?$<\/span><\/a>&quot;\u3000\u3000\/\/url<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =============================================<br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.\u53d6\u6d88\u6309\u94ae\u6309\u4e0b\u65f6\u7684\u865a\u7ebf\u6846 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000\u5728input\u91cc\u6dfb\u52a0\u5c5e\u6027\u503c&nbsp;&nbsp; hideFocus \u6216\u8005 HideFocus=true <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.\u53ea\u8bfb\u6587\u672c\u6846\u5185\u5bb9 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u5728input\u91cc\u6dfb\u52a0\u5c5e\u6027\u503c&nbsp;&nbsp; readonly <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.\u9632\u6b62\u9000\u540e\u6e05\u7a7a\u7684TEXT\u6587\u6863(\u53ef\u628astyle\u5185\u5bb9\u505a\u505a\u4e3a\u7c7b\u5f15\u7528) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;INPUT style=behavior:url(#default#savehistory); type=text <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id=oPersistInput&gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.ENTER\u952e\u53ef\u4ee5\u8ba9\u5149\u6807\u79fb\u5230\u4e0b\u4e00\u4e2a\u8f93\u5165\u6846 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input onkeydown=&quot;if(event.keyCode==13)event.keyCode=9&quot; &gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.\u53ea\u80fd\u4e3a\u4e2d\u6587(\u6709\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input onkeyup=&quot;value=&quot;\/value.replace(\/[&quot; -~]\/g,&rsquo;&rsquo;)&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onkeydown=&quot;if(event.keyCode==13)event.keyCode=9&quot;&gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6.\u53ea\u80fd\u4e3a\u6570\u5b57(\u6709\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input onkeyup=&quot;value=&quot;\/value.replace(\/[&quot;^\\d]\/g,&rsquo;&rsquo;) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;onbeforepaste=&quot;clipboardData.setData(&rsquo;text&rsquo;,clipboardData.getData(&rsquo;text&rsquo;).replace(\/[^\\d]\/g,&rsquo;&rsquo;))&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7.\u53ea\u80fd\u4e3a\u6570\u5b57(\u65e0\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input ime-mode:disabled&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onkeydown=&quot;if(event.keyCode==13)event.keyCode=9&quot; onKey<a rel=\"nofollow\" class=\"keylink\" title=\"pr\" href=\"http:\/\/www.liangsai.com\/seo\/pr\/\" target=\"_blank\"><strong><font color=\"#4371a6\">pr<\/font><\/strong><\/a>ess=&quot;if <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((event.keyCode&lt;48 || event.keyCode&gt;57)) event.returnValue=false&quot;&gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8.\u53ea\u80fd\u8f93\u5165\u82f1\u6587\u548c\u6570\u5b57(\u6709\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input onkeyup=&quot;value=&quot;\/value.replace(\/[\\W]\/g,&quot;&rsquo;&rsquo;)&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onbeforepaste=&quot;clipboardData.setData(&rsquo;text&rsquo;,clipboardData.getData(&rsquo;text&rsquo;).replace(\/[^\\d]\/g,&rsquo;&rsquo;))&quot;&gt;<\/div>\n<div minmax_bound=\"true\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9.\u5c4f\u853d\u8f93\u5165\u6cd5 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input type=&quot;text&quot; name=&quot;url&quot; ime-mode:disabled&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onkeydown=&quot;if(event.keyCode==13)event.keyCode=9&quot;&gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10. \u53ea\u80fd\u8f93\u5165 \u6570\u5b57\uff0c\u5c0f\u6570\u70b9\uff0c\u51cf\u53f7\uff08-\uff09 \u5b57\u7b26(\u65e0\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input onKeyPress=&quot;if (event.keyCode!=46 &amp;&amp; event.keyCode!=45 &amp;&amp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (event.keyCode&lt;48 || event.keyCode&gt;57)) event.returnValue=false&quot;&gt; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11. \u53ea\u80fd\u8f93\u5165\u4e24\u4f4d\u5c0f\u6570\uff0c\u4e09\u4f4d\u5c0f\u6570(\u6709\u95ea\u52a8) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u3000\u3000&lt;input maxlength=9 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; onkeyup=&quot;if(value.match(\/^\\d{3}$\/))value=&quot;\/value.replace(value,parseInt(value\/10))&quot; <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;value=&quot;\/value.replace(\/\\.\\d*\\.\/g,&rsquo;.&quot;&rsquo;)&quot; onKeyPress=&quot;if((event.keyCode&lt;48 <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || event.keyCode&gt;57) &amp;&amp; event.keyCode!=46 &amp;&amp; event.keyCode!=45 || <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value.match(\/^\\d{3}$\/) || \/\\.\\d{3}$\/.test(value)) <br minmax_bound=\"true\" \/><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {event.returnValue=false}&quot; id=text_kfxe name=text_kfxe&gt;<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5e38\u7528HTML\u6b63\u5219\u8868\u8fbe\u5f0f &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.\u53ea\u80fd\u8f93\u5165\u6570\u5b57\u548c\u82f1\u6587\u7684\uff1a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input onkeyup=&quot;value=va&#8230;<\/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":[],"topic":[],"class_list":["post-654","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=654"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":66511,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/654\/revisions\/66511"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=654"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}