iOS 12

苹果iOS 12的综述,包括iOS 12新功能,提示和技巧,安装指南和错误故障排除。您想知道的关于iOS 12的所有内容都包含在此处。

(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.") } }) })()