我在我正在创建的新网站上收到此Uncaught TypeError,但我无法弄清楚导致错误的原因.
我在下面的链接中重新创建了这个问题,如果你看看你的浏览器JS控制台,你会看到发生错误,但没有其他事情发生.
码:
$('.newsitem').hover(
$(this).children('.text').animate({ height: '34px' }),
$(this).children('.text').animate({ height: '0px' }));?
Run Code Online (Sandbox Code Playgroud)