12 2015 档案

摘要:Query: http://read.xiaoshuo1-sm.com/novel/i.php?page=1&size=10&rewrite=0&mode=addpay&query=%E6%9C%AF%E5%A3%AB&type=0&do=q_search&calluser=qsioshttp://... 阅读全文
posted @ 2015-12-22 12:10 N1900
摘要:public static List Swap(this List list, int index1,int index2) { if(index1=list.Count) { throw new Except... 阅读全文
posted @ 2015-12-14 17:47 N1900 阅读(367) 评论(0) 推荐(0)
摘要:项目里要实现一个input验证通过就切换到下一个input的功能当然用jq dom操作很简单 ,大家都懂,现在用 angular,mvc 数据模型控制分离,不想再dom操作怎么办以下方法 app.directive('focusDir',[ "$timeout","$parse" ,function... 阅读全文
posted @ 2015-12-05 15:06 N1900 阅读(2054) 评论(0) 推荐(0)
摘要:原方法,使用一个confirm 点ok然后回调,结果 界面无法刷新,搜索了下 是因为$scope没有监视model,必须使用apply方法 $scope.SelectedRow=row; negAlert.confirm(function(){ ... 阅读全文
posted @ 2015-12-01 18:07 N1900 阅读(877) 评论(0) 推荐(0)