簡體   English   中英

JQUERY:未捕獲錯誤:語法錯誤,無法識別的表達式:: nth-child

[英]JQUERY: Uncaught Error: Syntax error, unrecognized expression: :nth-child

我的網站遇到了JQUERY的問題,所以滑塊和一些功能都無法正常工作。

錯誤 - 未捕獲錯誤:語法錯誤,無法識別的表達式:: nth-child

網址 - http://ieee-wie-ilc.org/

有什么方法可以解決這個問題嗎? 我正在使用Wordpress和BigBang WP模板。 在此輸入圖像描述

您尚未正確完成標記

您的代碼如下。

<h3>2016 Media Partners</h3>
<ul class='grid row6 clients'>
<li>
 <a href="https://squareup.com/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/7.png" alt="7" width="225" height="140" /> </a><a href="http://ieee.org/WOMEN" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/3.png" alt="3" width="225" height="140" /></a><a title="MCE" href="http://www.ieee.org/conferences_events/conferences/mce_ems_services.html" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/MCE.jpg" alt="MCE" width="196" height="69" /></a><a title="NCWIT" href="http://www.ncwit.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/ncwit.png" alt="ncwit" width="133" height="120" data-wp-pid="3426" /></a><a href="http://www.lightreading.com/women-in-comms.asp" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/WiC-Member-Badge-1.png" alt="WiC Member Badge-1" width="182" height="112" /></a><a href="http://codechix.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/codechix-logo-square-black.png" alt="codechix-logo-square-black" width="119" height="119" /></a><a href="http://www.MillionWomenMentors.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2013/12/GiT_logo_rgb_square_hr.png" alt="GiT_logo_rgb_square_hr" width="118" height="118" /> </a><a href="http://www.gridalternatives.org/" target="_blank"><img class="alignnone size-full wp-image-5465" src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/Horizontal-GRID-logo.png" alt="Horizontal-GRID-logo" width="1674" height="635" data-wp-pid="5465" /></a> <a href="http://www.womenintechcampaign.com" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/WIT-Logo.png" alt="WIT Logo" width="207" height="52" /></a><a href="http://www.MillionWomenMentors.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/MWM-LOGO.png" alt="MWM LOGO" width="208" height="110" /></a> <a href="http://www.ConvoForGood.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2016/03/C4G_250H.png" alt="C4G" width="208" height="110" /></a> <a href="http://sheplusplus.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2013/12/she-_logo.png" alt="she++_logo" width="117" height="100" /></a> <a href="http://www.oceanicengineering.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/Oceanic.jpg" alt="Oceanic" width="168" height="79" /></a> <a href="http://sites.ieee.org/ttm/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/TTM_250H.jpg" alt="TTM_250H" width="250" height="188" /> </a><a href="http://ieee-wie-scv.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/IEEE-SCV.jpg" alt="IEEE SCV" width="200" height="90" /> </a><a href="http://ieee-region6.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/IEEE-R6.jpg" alt="IEEE R6" width="300" height="80" /> </a><a href="https://women.acm.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/acmw_europe_250H.jpg" alt="acmw_europe_250H" width="250" height="154" />
</li>
</ul></a></p>

請將其更改為:

<h3>2016 Media Partners</h3>
<ul class='grid row6 clients'>
<li>
 <a href="https://squareup.com/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/7.png" alt="7" width="225" height="140" /> </a><a href="http://ieee.org/WOMEN" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/3.png" alt="3" width="225" height="140" /></a><a title="MCE" href="http://www.ieee.org/conferences_events/conferences/mce_ems_services.html" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/MCE.jpg" alt="MCE" width="196" height="69" /></a><a title="NCWIT" href="http://www.ncwit.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/ncwit.png" alt="ncwit" width="133" height="120" data-wp-pid="3426" /></a><a href="http://www.lightreading.com/women-in-comms.asp" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/WiC-Member-Badge-1.png" alt="WiC Member Badge-1" width="182" height="112" /></a><a href="http://codechix.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/codechix-logo-square-black.png" alt="codechix-logo-square-black" width="119" height="119" /></a><a href="http://www.MillionWomenMentors.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2013/12/GiT_logo_rgb_square_hr.png" alt="GiT_logo_rgb_square_hr" width="118" height="118" /> </a><a href="http://www.gridalternatives.org/" target="_blank"><img class="alignnone size-full wp-image-5465" src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/Horizontal-GRID-logo.png" alt="Horizontal-GRID-logo" width="1674" height="635" data-wp-pid="5465" /></a> <a href="http://www.womenintechcampaign.com" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/WIT-Logo.png" alt="WIT Logo" width="207" height="52" /></a><a href="http://www.MillionWomenMentors.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/MWM-LOGO.png" alt="MWM LOGO" width="208" height="110" /></a> <a href="http://www.ConvoForGood.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2016/03/C4G_250H.png" alt="C4G" width="208" height="110" /></a> <a href="http://sheplusplus.org" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2013/12/she-_logo.png" alt="she++_logo" width="117" height="100" /></a> <a href="http://www.oceanicengineering.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/Oceanic.jpg" alt="Oceanic" width="168" height="79" /></a> <a href="http://sites.ieee.org/ttm/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/TTM_250H.jpg" alt="TTM_250H" width="250" height="188" /> </a><a href="http://ieee-wie-scv.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/IEEE-SCV.jpg" alt="IEEE SCV" width="200" height="90" /> </a><a href="http://ieee-region6.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/IEEE-R6.jpg" alt="IEEE R6" width="300" height="80" /> </a><a href="https://women.acm.org/" target="_blank"><img src="http://ieee-wie-ilc.org/wp-content/uploads/2012/07/acmw_europe_250H.jpg" alt="acmw_europe_250H" width="250" height="154" /></a>
</li>
</ul></p>

nth-child操作提供非數字參數時,通常會發生此錯誤。 請參閱此問題作為參考: Jquery:語法錯誤,無法識別的表達式:nth-​​child()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM