如何檢測滾動字幕是否使用jQuery按鈕點擊?如何檢查滾動字幕
<marquee>Scrolling text here, moving constantly</marquee>
<button id="btnCheck">Button</button>
我的jQuery代碼看起來像:
$(function(){
var marquee = $("marquee")[0];
$("#btnCheck").click(function(){
// How to check if marquee is scrolling here
});
});
它需要說。任何HTML規範中都不存在'