
JS
文章平均质量分 58
博妍
这个作者很懒,什么都没留下…
展开
-
Ashx+Jquery(Ajax)案例
jquery端: function GetCredit(credit) { $.ajax({ type: "GET", url: "../Ashx/GetCredit.ashx", customerID: 'text', cache原创 2017-03-10 15:06:42 · 464 阅读 · 0 评论 -
ASP.NET 下拉多选自定义控件(可以联动)
ascx页面: .DivCheckBoxList { display: none; border: 1px solid Gray; background-color: White; width: 100px; position:absolute; height: 200px; ove原创 2017-03-10 15:10:24 · 5038 阅读 · 1 评论 -
JS日期加减
var d = new Date();d.setMonth(d.getMonth());var month = d.getMonth() + 1;var day = d.getDate(); if (month month = "0" + month;}if (day day = "0" + day; }var原创 2017-04-19 16:12:43 · 320 阅读 · 0 评论 -
JS 获取url传递参数
function getrequest() { var url = location.search; //获取url中"?"符后的字串 if (url != null && url != "") { var therequest = new Object(); if (u原创 2017-03-10 15:04:59 · 548 阅读 · 0 评论 -
实时获取文本域中的长度,超出长度自动截取
$('#bodyContent').bind('input propertychange', function () { var cc = $(this).val().length; if (cc > 2000) { $(this).val($(this).val().substr原创 2017-07-17 09:23:35 · 2980 阅读 · 0 评论