![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
源点
人生不能Debug....
展开
-
jquery/js实现文本框根据输入内容input,textarea自适应高度
//默认的参数$(".chackTextarea-area").autoTextarea({maxHeight:220,minHeight:$(this).height()})转载 2014-06-26 17:27:41 · 4503 阅读 · 0 评论 -
jquery跨域访问
跨域访问js实现。环境:.net3.5+Jquery+JSON.net因为在跨域实现,所以这里新建网站,这个网站只需要:(1) Customer类public class Customer{ public int Unid { get; set; } public string CustomerName { get; set; } public string Me转载 2014-08-20 10:39:56 · 718 阅读 · 0 评论 -
js字符串转日期,兼容IE所有版本
/** * 格式 2018-11-23 12:23:46 * */function str2Date(strDate){ var fullDate = strDate.split(" ")[0].split("-"); var fullTime = strDate.split(" ")[1].split(":"); return new Date(fullDate[0], full...原创 2018-11-23 12:21:21 · 1912 阅读 · 1 评论