JQUERY: 未捕获的错误:语法错误,无法识别的表达式::nth-child

3

我的网站在使用JQUERY时出现了问题,因此幻灯片和某些功能无法正常工作。

错误 - 未捕获的错误:语法错误,无法识别表达式::nth-child

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

有没有办法解决这个问题?我正在使用WordPress和BigBang WP模板。enter image description here


你能提供你的代码吗?否则我们无法猜测实际问题是什么 :-) - Ronen Cypis
我没有添加任何自定义代码,这个问题是在更新WordPress到新版本后发生的。 - Tittu Vaghese
2个回答

2

1
你没有正确地完成一个标签。
以下是你的代码。
<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>

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接