Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 html5 视频播放器,默认情况下它不允许您点击<video></video>播放器,也不会暂停/播放。
<video></video>
如何让 HTML5 Video.js 播放/暂停功能正常工作?
jQuery
$('#your_element_id')[0].pause()暂停 $('#your_element_id')[0].play()播放
$('#your_element_id')[0].pause()
$('#your_element_id')[0].play()
Javascript
document.getElementById("your_element_id").pause()暂停 document.getElementById("your_element_id").play()播放
document.getElementById("your_element_id").pause()
document.getElementById("your_element_id").play()
为大型数据集构建 UI。理想的情况是有一个固定高度的表格,该表格可滚动以容纳 200 多行数据。一个好处是使用 JQuery UI 使用户能够拖动表格的高度以显示更多或更少的行。
到目前为止我所拥有的 JSFiddle:http: //jsfiddle.net/jonbrownm/j5