原创 我的友情鏈接

51CTO博客開發

原创 ajax異步驗證

functioncheckusername(){varusername=document.getElementById("").value;//1.創建XMLHttp協議對象varxmlHttp;if(window.ActiveXObjec

原创 mongoDB中distinct的使用

需求:在mongodb中查詢一個類型(數據庫中可能百萬條數據)用作下拉列表查詢。在工具中用 db.getCollection('order').distinct("typeName") 即可實現。java 代碼:MongoCollectio

原创 ajax異步驗證

functioncheckusername(){varusername=document.getElementById("").value;//1.創建XMLHttp協議對象varxmlHttp;if(window.ActiveXObjec

原创 我的友情鏈接

51CTO博客開發