2023年2月23日
摘要: <input type="number" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" /> 阅读全文
posted @ 2023-02-23 14:53 邢帅杰 阅读(281) 评论(0) 推荐(0) 编辑
摘要: code //例如:页面高度1000,屏幕高度900,相差100, //scrollTop:向上滚动100像素,就到达页面底部了。 function ScrollToBottom() { $("html, body").animate({ scrollTop: $(document).height( 阅读全文
posted @ 2023-02-23 09:34 邢帅杰 阅读(744) 评论(0) 推荐(0) 编辑