{"id":1050,"date":"2017-02-09T15:21:39","date_gmt":"2017-02-09T07:21:39","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1050"},"modified":"2017-02-09T15:21:39","modified_gmt":"2017-02-09T07:21:39","slug":"jquery%e9%80%89%e6%8b%a9%e5%99%a8%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1050","title":{"rendered":"jQuery\u9009\u62e9\u5668\u4f7f\u7528\u6559\u7a0b"},"content":{"rendered":"<p>\n\tjQuery \u7684\u9009\u62e9\u5668\u53ef\u8c13\u4e4b\u5f3a\u5927\u65e0\u6bd4\uff0c\u8fd9\u91cc\u7b80\u5355\u5730\u603b\u7ed3\u4e00\u4e0b\u5e38\u7528\u7684\u5143\u7d20\u67e5\u627e\u65b9\u6cd5&nbsp;\n<\/p>\n<pre class=\"brush:jscript;\">\r\n$(&quot;#myELement&quot;) &nbsp; &nbsp;\u9009\u62e9id\u503c\u7b49\u4e8emyElement\u7684\u5143\u7d20\uff0cid\u503c\u4e0d\u80fd\u91cd\u590d\u5728\u6587\u6863\u4e2d\u53ea\u80fd\u6709\u4e00\u4e2aid\u503c\u662fmyElement\u6240\u4ee5\u5f97\u5230\u7684\u662f\u552f\u4e00\u7684\u5143\u7d20&nbsp;\r\n$(&quot;div&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684div\u6807\u7b7e\u5143\u7d20\uff0c\u8fd4\u56dediv\u5143\u7d20\u6570\u7ec4&nbsp;\r\n$(&quot;.myClass&quot;) &nbsp; &nbsp; &nbsp;\u9009\u62e9\u4f7f\u7528myClass\u7c7b\u7684css\u7684\u6240\u6709\u5143\u7d20&nbsp;\r\n$(&quot;*&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6587\u6863\u4e2d\u7684\u6240\u6709\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u8fd0\u7528\u591a\u79cd\u7684\u9009\u62e9\u65b9\u5f0f\u8fdb\u884c\u8054\u5408\u9009\u62e9\uff1a\u4f8b\u5982$(&quot;#myELement,div,.myclass&quot;)<\/pre>\n<h2>\n\t\u5c42\u53e0\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;form input&quot;) &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684form\u5143\u7d20\u4e2d\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;#main &gt; *&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9id\u503c\u4e3amain\u7684\u6240\u6709\u7684\u5b50\u5143\u7d20&nbsp;\r\n$(&quot;label + input&quot;) &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684label\u5143\u7d20\u7684\u4e0b\u4e00\u4e2ainput\u5143\u7d20\u8282\u70b9\uff0c\u7ecf\u6d4b\u8bd5\u9009\u62e9\u5668\u8fd4\u56de\u7684\u662flabel\u6807\u7b7e\u540e\u9762\u76f4\u63a5\u8ddf\u4e00\u4e2ainput\u6807\u7b7e\u7684\u6240\u6709input\u6807\u7b7e\u5143\u7d20&nbsp;\r\n$(&quot;#prev ~ div&quot;) &nbsp; &nbsp; &nbsp; \u540c\u80de\u9009\u62e9\u5668\uff0c\u8be5\u9009\u62e9\u5668\u8fd4\u56de\u7684\u4e3aid\u4e3aprev\u7684\u6807\u7b7e\u5143\u7d20\u7684\u6240\u6709\u7684\u5c5e\u4e8e\u540c\u4e00\u4e2a\u7236\u5143\u7d20\u7684div\u6807\u7b7e&nbsp;<\/pre>\n<h2>\n\t\u57fa\u672c\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;tr:first&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709tr\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a&nbsp;\r\n$(&quot;tr:last&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709tr\u5143\u7d20\u7684\u6700\u540e\u4e00\u4e2a&nbsp;\r\n$(&quot;input:not(:checked) + span&quot;) &nbsp;&nbsp;\u8fc7\u6ee4\u6389\uff1achecked\u7684\u9009\u62e9\u5668\u7684\u6240\u6709\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;tr:even&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684tr\u5143\u7d20\u7684\u7b2c0\uff0c2\uff0c4... ...\u4e2a\u5143\u7d20\uff08\u6ce8\u610f\uff1a\u56e0\u4e3a\u6240\u9009\u62e9\u7684\u591a\u4e2a\u5143\u7d20\u65f6\u4e3a\u6570\u7ec4\uff0c\u6240\u4ee5\u5e8f\u53f7\u662f\u4ece0\u5f00\u59cb\uff09&nbsp;\r\n$(&quot;tr:odd&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684tr\u5143\u7d20\u7684\u7b2c1\uff0c3\uff0c5... ...\u4e2a\u5143\u7d20&nbsp;\r\n$(&quot;td:eq(2)&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684td\u5143\u7d20\u4e2d\u5e8f\u53f7\u4e3a2\u7684\u90a3\u4e2atd\u5143\u7d20&nbsp;\r\n$(&quot;td:gt(4)&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9td\u5143\u7d20\u4e2d\u5e8f\u53f7\u5927\u4e8e4\u7684\u6240\u6709td\u5143\u7d20&nbsp;\r\n$(&quot;td:ll(4)&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9td\u5143\u7d20\u4e2d\u5e8f\u53f7\u5c0f\u4e8e4\u7684\u6240\u6709\u7684td\u5143\u7d20&nbsp;\r\n$(&quot;:header&quot;)&nbsp;\r\n$(&quot;div:animated&quot;)&nbsp;<\/pre>\n<h2>\n\t\u5185\u5bb9\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;div:contains(&#039;John&#039;)&quot;) \u9009\u62e9\u6240\u6709div\u4e2d\u542b\u6709John\u6587\u672c\u7684\u5143\u7d20&nbsp;\r\n$(&quot;td:empty&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684\u4e3a\u7a7a\uff08\u4e5f\u4e0d\u5305\u62ec\u6587\u672c\u8282\u70b9\uff09\u7684td\u5143\u7d20\u7684\u6570\u7ec4&nbsp;\r\n$(&quot;div:has(p)&quot;) &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u542b\u6709p\u6807\u7b7e\u7684div\u5143\u7d20&nbsp;\r\n$(&quot;td:parent&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684\u4ee5td\u4e3a\u7236\u8282\u70b9\u7684\u5143\u7d20\u6570\u7ec4&nbsp;<\/pre>\n<h2>\n\t\u53ef\u89c6\u5316\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;div:hidden&quot;) &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684\u88abhidden\u7684div\u5143\u7d20&nbsp;\r\n$(&quot;div:visible&quot;) &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684\u53ef\u89c6\u5316\u7684div\u5143\u7d20<\/pre>\n<h2>\n\t\u5c5e\u6027\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;div[id]&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u542b\u6709id\u5c5e\u6027\u7684div\u5143\u7d20&nbsp;\r\n$(&quot;input[name='newsletter']&quot;) &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684name\u5c5e\u6027\u7b49\u4e8e&#039;newsletter&#039;\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;input[name!='newsletter']&quot;) \u9009\u62e9\u6240\u6709\u7684name\u5c5e\u6027\u4e0d\u7b49\u4e8e&#039;newsletter&#039;\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;input[name^='news']&quot;) &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684name\u5c5e\u6027\u4ee5&#039;news&#039;\u5f00\u5934\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;input[name$='news']&quot;) &nbsp; &nbsp; &nbsp; &nbsp; \u9009\u62e9\u6240\u6709\u7684name\u5c5e\u6027\u4ee5&#039;news&#039;\u7ed3\u5c3e\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;input[name*='man']&quot;) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u9009\u62e9\u6240\u6709\u7684name\u5c5e\u6027\u5305\u542b&#039;news&#039;\u7684input\u5143\u7d20&nbsp;\r\n$(&quot;input[id][name$='man']&quot;) &nbsp; &nbsp;\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u5c5e\u6027\u8fdb\u884c\u8054\u5408\u9009\u62e9\uff0c\u8be5\u9009\u62e9\u5668\u662f\u5f97\u5230\u6240\u6709\u7684\u542b\u6709id\u5c5e\u6027\u5e76\u4e14\u90a3\u4e48\u5c5e\u6027\u4ee5man\u7ed3\u5c3e\u7684\u5143\u7d20<\/pre>\n<h2>\n\t\u5b50\u5143\u7d20\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;ul li:nth-child(2)&quot;),$(&quot;ul li:nth-child(odd)&quot;),$(&quot;ul li:nth-child(3n + 1)&quot;)&nbsp;\r\n$(&quot;div span:first-child&quot;) &nbsp;\u8fd4\u56de\u6240\u6709\u7684div\u5143\u7d20\u7684\u7b2c\u4e00\u4e2a\u5b50\u8282\u70b9\u7684\u6570\u7ec4&nbsp;\r\n$(&quot;div span:last-child&quot;) &nbsp; \u8fd4\u56de\u6240\u6709\u7684div\u5143\u7d20\u7684\u6700\u540e\u4e00\u4e2a\u8282\u70b9\u7684\u6570\u7ec4&nbsp;\r\n$(&quot;div button:only-child&quot;) \u8fd4\u56de\u6240\u6709\u7684div\u4e2d\u53ea\u6709\u552f\u4e00\u4e00\u4e2a\u5b50\u8282\u70b9\u7684\u6240\u6709\u5b50\u8282\u70b9\u7684\u6570\u7ec4&nbsp;<\/pre>\n<h2>\n\t\u8868\u5355\u5143\u7d20\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;:input&quot;) \u9009\u62e9\u6240\u6709\u7684\u8868\u5355\u8f93\u5165\u5143\u7d20\uff0c\u5305\u62ecinput, textarea, select \u548c button&nbsp;\r\n$(&quot;:text&quot;) \u9009\u62e9\u6240\u6709\u7684text input\u5143\u7d20&nbsp;\r\n$(&quot;:password&quot;) \u9009\u62e9\u6240\u6709\u7684password input\u5143\u7d20&nbsp;\r\n$(&quot;:radio&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684radio input\u5143\u7d20&nbsp;\r\n$(&quot;:checkbox&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684checkbox input\u5143\u7d20&nbsp;\r\n$(&quot;:submit&quot;) &nbsp; \u9009\u62e9\u6240\u6709\u7684submit input\u5143\u7d20&nbsp;\r\n$(&quot;:image&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684image input\u5143\u7d20&nbsp;\r\n$(&quot;:reset&quot;) &nbsp; \u9009\u62e9\u6240\u6709\u7684reset input\u5143\u7d20&nbsp;\r\n$(&quot;:button&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684button input\u5143\u7d20&nbsp;\r\n$(&quot;:file&quot;) &nbsp; \u9009\u62e9\u6240\u6709\u7684file input\u5143\u7d20&nbsp;\r\n$(&quot;:hidden&quot;) \u9009\u62e9\u6240\u6709\u7c7b\u578b\u4e3ahidden\u7684input\u5143\u7d20\u6216\u8868\u5355\u7684\u9690\u85cf\u57df&nbsp;<\/pre>\n<h2>\n\t\u8868\u5355\u5143\u7d20\u8fc7\u6ee4\u9009\u62e9\u5668<br \/>\n<\/h2>\n<pre class=\"brush:jscript;\">\r\n$(&quot;:enabled&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684\u53ef\u64cd\u4f5c\u7684\u8868\u5355\u5143\u7d20&nbsp;\r\n$(&quot;:disabled&quot;) \u9009\u62e9\u6240\u6709\u7684\u4e0d\u53ef\u64cd\u4f5c\u7684\u8868\u5355\u5143\u7d20&nbsp;\r\n$(&quot;:checked&quot;) &nbsp;\u9009\u62e9\u6240\u6709\u7684\u88abchecked\u7684\u8868\u5355\u5143\u7d20&nbsp;\r\n$(&quot;select option:selected&quot;) \u9009\u62e9\u6240\u6709\u7684select \u7684\u5b50\u5143\u7d20\u4e2d\u88abselected\u7684\u5143\u7d20&nbsp;\r\n\u9009\u53d6\u4e00\u4e2a name \u4e3a&rdquo;S_03_22&Prime;\u7684input text\u6846\u7684\u4e0a\u4e00\u4e2atd\u7684text\u503c\r\n$(&rdquo;input[@ name =S_03_22]&ldquo;).parent().prev().text()&nbsp;\r\n\u540d\u5b57\u4ee5&rdquo;S_&rdquo;\u5f00\u59cb\uff0c\u5e76\u4e14\u4e0d\u662f\u4ee5&rdquo;_R&rdquo;\u7ed3\u5c3e\u7684\r\n$(&rdquo;input[@ name ^='S_']&ldquo;).not(&rdquo;[@ name $='_R']&ldquo;)&nbsp;&nbsp;\r\n\u4e00\u4e2a\u540d\u4e3a radio_01\u7684radio\u6240\u9009\u7684\u503c\r\n$(&rdquo;input[@ name =radio_01][@checked]&ldquo;).val();&nbsp;\r\n$(&quot;A B&quot;) \u67e5\u627eA\u5143\u7d20\u4e0b\u9762\u7684\u6240\u6709\u5b50\u8282\u70b9\uff0c\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9\r\n$(&quot;A&gt;B&quot;) \u67e5\u627eA\u5143\u7d20\u4e0b\u9762\u7684\u76f4\u63a5\u5b50\u8282\u70b9\r\n$(&quot;A+B&quot;) \u67e5\u627eA\u5143\u7d20\u540e\u9762\u7684\u5144\u5f1f\u8282\u70b9\uff0c\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9\r\n$(&quot;A~B&quot;) \u67e5\u627eA\u5143\u7d20\u540e\u9762\u7684\u5144\u5f1f\u8282\u70b9\uff0c\u4e0d\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9&nbsp;\r\n$(&quot;A B&quot;) \u67e5\u627eA\u5143\u7d20\u4e0b\u9762\u7684\u6240\u6709\u5b50\u8282\u70b9\uff0c\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9<\/pre>\n<p>\n\t\u4f8b\u5b50\uff1a<strong>\u627e\u5230\u8868\u5355\u4e2d\u6240\u6709\u7684 input \u5143\u7d20<\/strong>&nbsp;<br \/>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;form&gt;\r\n&lt;label&gt;Name:&lt;\/label&gt;\r\n&lt;input name=&quot;name&quot; \/&gt;\r\n&lt;fieldset&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;label&gt;Newsletter:&lt;\/label&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;input name=&quot;newsletter&quot; \/&gt;\r\n&lt;\/fieldset&gt;\r\n&lt;\/form&gt;\r\n&lt;input name=&quot;none&quot; \/&gt;&nbsp;\r\n$(&quot;form input&quot;)&nbsp;\r\n\u7ed3\u679c:&nbsp;\r\n[ ,  ]<\/pre>\n<p>\n\t$(&quot;A&gt;B&quot;) \u67e5\u627eA\u5143\u7d20\u4e0b\u9762\u7684\u76f4\u63a5\u5b50\u8282\u70b9&nbsp;<br \/>\n\t\u4f8b\u5b50\uff1a<strong>\u5339\u914d\u8868\u5355\u4e2d\u6240\u6709\u7684\u5b50\u7ea7input\u5143\u7d20\u3002<\/strong>&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;form&gt;\r\n&lt;label&gt;Name:&lt;\/label&gt;\r\n&lt;input name=&quot;name&quot; \/&gt;\r\n&lt;fieldset&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;label&gt;Newsletter:&lt;\/label&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;input name=&quot;newsletter&quot; \/&gt;\r\n&lt;\/fieldset&gt;\r\n&lt;\/form&gt;\r\n&lt;input name=&quot;none&quot; \/&gt;&nbsp;&nbsp;\r\n$(&quot;form &gt; input&quot;)&nbsp;\r\n\u7ed3\u679c:&nbsp;\r\n[  ]&nbsp;<\/pre>\n<p>\n\t$(&quot;A+B&quot;) \u67e5\u627eA\u5143\u7d20\u540e\u9762\u7684\u5144\u5f1f\u8282\u70b9\uff0c\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9&nbsp;<br \/>\n\t\u4f8b\u5b50\uff1a<strong>\u5339\u914d\u6240\u6709\u8ddf\u5728 label \u540e\u9762\u7684 input \u5143\u7d20<\/strong>&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;form&gt;\r\n&lt;label&gt;Name:&lt;\/label&gt;\r\n&lt;input name=&quot;name&quot; \/&gt;\r\n&lt;fieldset&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;label&gt;Newsletter:&lt;\/label&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;input name=&quot;newsletter&quot; \/&gt;\r\n&lt;\/fieldset&gt;\r\n&lt;\/form&gt;\r\n&lt;input name=&quot;none&quot; \/&gt;&nbsp;\r\n$(&quot;label + input&quot;)&nbsp;\r\n\u7ed3\u679c:&nbsp;\r\n[ ,  ]<\/pre>\n<p>\n\t$(&quot;A~B&quot;) \u67e5\u627eA\u5143\u7d20\u540e\u9762\u7684\u5144\u5f1f\u8282\u70b9\uff0c\u4e0d\u5305\u62ec\u975e\u76f4\u63a5\u5b50\u8282\u70b9&nbsp;<br \/>\n\t\u4f8b\u5b50\uff1a<strong>\u627e\u5230\u6240\u6709\u4e0e\u8868\u5355\u540c\u8f88\u7684 input \u5143\u7d20<\/strong>&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;form&gt;\r\n&lt;label&gt;Name:&lt;\/label&gt;\r\n&lt;input name=&quot;name&quot; \/&gt;\r\n&lt;fieldset&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;label&gt;Newsletter:&lt;\/label&gt;\r\n&nbsp; &nbsp; &nbsp; &lt;input name=&quot;newsletter&quot; \/&gt;\r\n&lt;\/fieldset&gt;\r\n&lt;\/form&gt;\r\n&lt;input name=&quot;none&quot; \/&gt;&nbsp;\r\n$(&quot;form ~ input&quot;)&nbsp;\r\n\u7ed3\u679c:&nbsp;\r\n[  ]&nbsp;\r\n<\/pre>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1050\">jQuery\u9009\u62e9\u5668\u4f7f\u7528\u6559\u7a0b<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>jQuery \u7684\u9009\u62e9\u5668\u53ef\u8c13\u4e4b\u5f3a\u5927\u65e0\u6bd4\uff0c\u8fd9\u91cc\u7b80\u5355\u5730\u603b\u7ed3\u4e00\u4e0b\u5e38\u7528\u7684\u5143\u7d20\u67e5\u627e\u65b9\u6cd5&nbsp; $(&quot;#my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[49,776,778,775,777,779],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-html5","tag-jquery","tag-776","tag-778","tag-775","tag-777","tag-779"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1050"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1050\/revisions"}],"predecessor-version":[{"id":1051,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1050\/revisions\/1051"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}