Apple TV

此页面是Apple TV用户提示和技巧的完整指南。了解如何更智能地使用Apple TV。

(function () { document.querySelector(".jump-group").addEventListener("submit", function (e) { e.preventDefault(); var num = parseInt(this.querySelector("input").value); var url = window.location.href; var total = parseInt(this.querySelector(".total").innerText); var path = url.substring(0, url.lastIndexOf('/') + 1); if (num <= total & num > 1) { if (url.indexOf("how-to.html") > 0) { window.location.href = path + "how-to/" + num + ".html"; } else { window.location.href = path + num + ".html"; } } else { alert("submit failed! please enter again.") } }) })()