摘要: 想要ignore link "#" method, 當click一個link時,page不要跳轉,可使用 來代替 也可以使用上面例子中提到在,onclick事件觸發後的function中 return false; 另外一種方法就是使用 event.preventDefault(); 取消事件的預設 阅读全文
posted @ 2019-06-22 11:19 日光之下无新事 阅读(366) 评论(0) 推荐(0) 编辑
摘要: [] 是針對特定類型、固定長度的。List 是針對特定類型、任意長度的。Array 是針對任意類型、固定長度的。ArrayList 是針對任意類型、任意長度的。Array 和 ArrayList 是通過存儲 object 實現任意類型的,所以使用時要轉換。 Array 是抽象類別,不能使用 new 阅读全文
posted @ 2019-06-18 18:01 日光之下无新事 阅读(178) 评论(0) 推荐(0) 编辑
摘要: List是類,實現了IList接口,IList繼承了ICollection,ICollection繼承了IEnumerable,IEnumerable是其中最底層的接口。 實現IEnumerable接口的類,可以使用foreach進行循環讀取。 實現ICollection接口的類,除了可以使用for 阅读全文
posted @ 2019-06-18 17:32 日光之下无新事 阅读(320) 评论(0) 推荐(0) 编辑
摘要: https://mws.amazonservices.com/scratchpad/index.html Use this page to test Amazon MWS API request and response. 阅读全文
posted @ 2019-06-18 16:06 日光之下无新事 阅读(782) 评论(0) 推荐(0) 编辑
摘要: https://datatables.net/examples/server_side/simple.html 當頁面上要顯示的數據在10萬筆以上時,可以使用server-side processing. 這樣在change entries, paging, sorting的時候,會通過事先定義好的 阅读全文
posted @ 2019-06-06 12:33 日光之下无新事 阅读(331) 评论(0) 推荐(0) 编辑
摘要: jdk-11.0.2eclipse 2018-12python 3.7.2 1. install jdk, 配置环境变量 新建JAVA_HOME 系统变量,C:\Program Files\Java\jdk-11.0.2 修改path系统变量,在最后添加 ;%JAVA_HOME%\bin 2. in 阅读全文
posted @ 2019-01-24 09:33 日光之下无新事 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 返回到client頁面的json string除了json data的部分之外,還包含了整個頁面的html source code. 導致json parse時出現error 阅读全文
posted @ 2018-03-13 18:25 日光之下无新事 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: host = "pop.gmail.com"user = "xxxxx@gmail.com"password = "xxxx"port = 995Pop3Client client = new Pop3Client();client.connet(host, port, true);client.A... 阅读全文
posted @ 2015-09-26 13:14 日光之下无新事 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 參考網址:http://www.cnblogs.com/kissazi2/p/3393595.htmlhttp://www.cnblogs.com/kissazi2/p/3389551.htmlhttp://www.cnblogs.com/kissazi2/p/3392094.html實際配置時,使... 阅读全文
posted @ 2015-01-09 01:56 日光之下无新事 阅读(296) 评论(0) 推荐(0) 编辑
摘要: windows 7安裝後啟動xampp, 提示port 443 被其他程式占用。網上查找解決方案:http://stackoverflow.com/questions/21182512/how-to-stop-vmware-port-error-of-443-on-xampp-control-pan... 阅读全文
posted @ 2014-08-06 21:57 日光之下无新事 阅读(1102) 评论(0) 推荐(0) 编辑