摘要:
function DateTime(Tid) { var now = new Date(); var validDate = "", day = now.getDate(), month = now.getMonth(), year = now.getFullYear(); var nowTime 阅读全文
摘要:
最简单的的正则 var re = new RegExp('a');//JS风格 //var re = /a/;//per风格 var st = 'abcd'; console.log(st.search(re));//0 大小写 var re = new RegExp('a','i');//JS风格 阅读全文
摘要:
function ajax(url,fnSucc,fnFaild) { //ajax的兼容性 if (window.XMLHttpRequest) { //创建Ajax对象 var oAjax = new XMLHttpRequest(); } else { //ie6 var oAjax = ne 阅读全文