摘要: 参考: 1. http://blog.csdn.net/clh604/article/details/9269449 2. http://www.cnblogs.com/caseast/p/5909987.html 阅读全文
posted @ 2016-10-12 23:07 LABCD 阅读(136) 评论(0) 推荐(0)
摘要: JavaScript: JQuery: 例子: example.js 另一种方法 这与在DIV内动态载入另一个页面非常相似! 补充把元素插入到指定元素的前边: document.getElementById("msgplan").innerHTML=newmsg;改成document.getElem 阅读全文
posted @ 2016-10-12 22:47 LABCD 阅读(257) 评论(0) 推荐(0)
摘要: django中传递到页面中的并不是变量, 是文本的替换 http://stackoverflow.com/questions/298772/django-template-variables-and-javascript上下面这句话解释的很清楚。 The {{variable}} is substi 阅读全文
posted @ 2016-10-12 21:16 LABCD 阅读(2091) 评论(0) 推荐(0)
摘要: 查看端口使用情况,使用netstat命令。查看已经连接的服务端口(ESTABLISHED netstat -a 查看所有的服务端口(LISTEN,ESTABLISHED) netstat -ap 查看8080端口,则可以结合grep命令: netstat -ap | grep 8080 如查看888 阅读全文
posted @ 2016-10-12 21:15 LABCD 阅读(309) 评论(0) 推荐(0)
摘要: 使用LocalStorage和SessionStorage http://www.w3school.com.cn/html5/html_5_webstorage.asp localStorage 写入: 读取: SessionStorage 写入: 读取: 例子 验证: 使用Chrome 按F12 阅读全文
posted @ 2016-10-12 16:28 LABCD 阅读(622) 评论(0) 推荐(0)
摘要: chorme 53版本把Resources移动到了Application下 阅读全文
posted @ 2016-10-12 16:24 LABCD 阅读(108) 评论(0) 推荐(0)