12 2014 档案

摘要:解决方法:replace(/\r\n/g,"").replace("\n","")测试: 阅读全文
posted @ 2014-12-25 11:20 Wangyk 阅读(9634) 评论(0) 推荐(0)
摘要:简单的:str =jQuery.trim(str);1 var temp = " aa b ";2 console.log("cc" + temp);3 temp = jQuery.trim(temp);4 console.log("cc" + temp);自己写的: 1 2 3 4 5... 阅读全文
posted @ 2014-12-25 08:47 Wangyk 阅读(1170) 评论(0) 推荐(0)
摘要:0000000 1111111 2222222 3333333 4444444 5555555 ------- 6666666 排除第一行变色,剩下的都变色 阅读全文
posted @ 2014-12-24 19:02 Wangyk 阅读(304) 评论(0) 推荐(0)
摘要:JSON:JSON格式化工具JSON检验并格式化工具专为Web开发者准备的 63个免费在线工具 阅读全文
posted @ 2014-12-06 10:05 Wangyk 阅读(160) 评论(0) 推荐(0)