zwei1121

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页

2014年7月7日 #

摘要: 如果只是單純地想限制 textarea 中的字數,不想寫太多的話,可用:或在 textarea 的 onkeyup 中檢查字數之方法:...............設定好自動去檢查所有的 textarea 之方法:..........首先在textarea 上定义一个 maxlength 属性:然后... 阅读全文
posted @ 2014-07-07 09:06 zwei 阅读(1928) 评论(0) 推荐(0) 编辑

2014年5月23日 #

摘要: functionaddLi(){$(".three").append("");$("input[name='email']").rules("add",{required:true,email:false,max:5});}jQuery.extend(jQuery.validator.message... 阅读全文
posted @ 2014-05-23 11:26 zwei 阅读(680) 评论(0) 推荐(0) 编辑

2014年5月20日 #

摘要: onKeyUp="keypress2(this,140)" onblur="keypress2(this,140)"你还可以输入140个字onKeyUp="keypress1(this,30)"你还可以输入30个字 阅读全文
posted @ 2014-05-20 15:22 zwei 阅读(246) 评论(0) 推荐(0) 编辑

2014年5月5日 #

摘要: Load var data = []; var viewModel = { vendors: ko.observableArray(data)};ko.applyBindings(viewModel);$(function () { // on this click event, ... 阅读全文
posted @ 2014-05-05 15:29 zwei 阅读(217) 评论(0) 推荐(0) 编辑

2014年4月28日 #

摘要: var decoded = encoded.replace(/&/g,'&');http://stackoverflow.com/questions/3700326/decode-amp-back-to-in-javascriptTechnically, and often in pract... 阅读全文
posted @ 2014-04-28 18:30 zwei 阅读(196) 评论(0) 推荐(0) 编辑

2014年4月18日 #

摘要: public string charset { get; set; } public string exchangeDate { get; set; } public string exchangeRate{ get; set; } ... 阅读全文
posted @ 2014-04-18 18:10 zwei 阅读(270) 评论(0) 推荐(0) 编辑

2014年4月12日 #

摘要: http://s.yanghao.org/program/viewdetail.php?i=71959http://www.codeproject.com/csharp/biginteger.asphttp://www.cnblogs.com/clc2008/archive/2012/03/01/2375294.htmlhttp://www.cnblogs.com/wangchengshen/articles/3595841.html 阅读全文
posted @ 2014-04-12 16:38 zwei 阅读(454) 评论(0) 推荐(0) 编辑

2014年4月9日 #

摘要: http://blog.gfader.com/2010/05/aspnet-mvc-model-binding-to-list-or-how.html http://www.cnblogs.com/yinzixin/archive/2012/11/10/2763625.html http://www 阅读全文
posted @ 2014-04-09 22:46 zwei 阅读(259) 评论(0) 推荐(0) 编辑

摘要: $(document).ready(function (){var things =[{ id:1, color:'yellow'},{ id:2, color:'blue'},{ id:3, color:'red'}]; things = JSON.stringify({'things': things }); $.ajax({ contentType:'application/json; charset=utf-8', dataType:'json', type:'POST', 阅读全文
posted @ 2014-04-09 22:32 zwei 阅读(2139) 评论(0) 推荐(0) 编辑

2014年3月29日 #

摘要: var auditTime = new Date(parseInt(result.Data.AuditTime.substr(6))); var birthdayMilliseconds = parseInt(result.Data.AuditTime.replace(/\D/igm, "")); //实例化一个新的日期格式,使用1970 年 1 月 1 日至今的毫秒数为参数 var birthday = ne... 阅读全文
posted @ 2014-03-29 09:25 zwei 阅读(131) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页