当我单击此页上的“下载完整菜单”链接(http://www.brazenbbq.com/menus/restaurant/)时,它将不会打开,除非我右键单击并在“新选项卡中打开链接”。我使用了Chrome和Firefox元素检查器,并且我得到了下面的jquery错误,但我不确定如何修复它,因为我只是一个JavaScript新手...感谢您的帮助!语法错误:<a>链接无法通过单击工作,只能通过右键单击+“在新选项卡中打开链接”命令打开
2jquery.js?ver=1.10.2:formatted:570
Uncaught Error: Syntax error, unrecognized expression: /wp-content/uploads/2013/11/Brazen_BBQ_Menu.pdf
fa.error @ jquery.js?ver=1.10.2:formatted:570
fa.tokenize @ jquery.js?ver=1.10.2:formatted:898
fa.select @ jquery.js?ver=1.10.2:formatted:1069
fa @ jquery.js?ver=1.10.2:formatted:339
find @ jquery.js?ver=1.10.2:formatted:1188
n.fn.init @ jquery.js?ver=1.10.2:formatted:1211
n @ jquery.js?ver=1.10.2:formatted:22
(anonymous function) @ VM266:43
dispatch @ jquery.js?ver=1.10.2:formatted:2128
r.handle @ jquery.js?ver=1.10.2:formatted:2007
非常感谢你!这工作完美! :) –
@ JuanF.Blanco很高兴我能帮上忙。别忘了接受这个答案。 :) 谢谢 ! –