摘要: if you send json data to mvc,how can you receive them and parse them more simply?you can do it like this: latestData = []; $('.s... 阅读全文
posted @ 2014-09-10 13:37 二师弟tl 阅读(270) 评论(0) 推荐(0)
摘要: if you need append some string to element and need set some attribute on these string at the same time,you'b better use appendTo funtion.because you c... 阅读全文
posted @ 2014-09-10 11:00 二师弟tl 阅读(144) 评论(0) 推荐(0)
摘要: if we received data like this:,"Date":"\/Date(1410969600000)\/",we can parse it like this:var t = eval('new ' + time.toString().replace(/\//g, ''));va... 阅读全文
posted @ 2014-09-10 09:35 二师弟tl 阅读(145) 评论(0) 推荐(0)