摘要:
计算高度: var a = document.body.clientHeight/2;console.log(a) window.scrollTo(0, document.body.clientHeight/2); scrollTop=document.documentElement.scrollT 阅读全文
摘要:
执行mysql update,或者delete的时候会遇到: You can't specify target table for update in FROM clause 相关的原因自不必说:下面有stackoverflow中的帖子: https://stackoverflow.com/ques 阅读全文
摘要:
以下摘自官方文档:https://dev.mysql.com/doc/refman/5.7/en/insert.html 语法: Or: If you declare an alias for a table, you must use the alias when referring to the 阅读全文