1. 前端简单逻辑 0]+{true:global.title,false:'正在加载中'}[global.loading_done]+' - xxxx'">
分类:
Web程序 时间:
2014-09-17 11:36:12
阅读次数:
197
作者:Parry出处:http://www.cnblogs.com/parry/一、强类型数据控件在出现强类型数据控件前,我们绑定数据控件时,前台一般使用Eval或者DataBinder.Eval(Container.DataItem,"FieldName")的形式。12而在ASP.NET Web ...
分类:
Web程序 时间:
2014-09-17 00:54:11
阅读次数:
418
AngularJS 是Google 推出的一套前端JS开发的 MV* (Model-View-Whatever)框架,它引入了一些编译器的概念,比如编译、链接,具有强大的双向数据绑定(Two-way binding)和前端模板功能(directive),使得我们可以轻易实现高服用、高可扩展性的脚本,...
分类:
其他好文 时间:
2014-09-16 23:26:21
阅读次数:
303
执行结果: hello,word!一、把字符串作为php脚本处理。相信这个大家都知道!二、当字符串里有不合法的php代码时,报错。相信大家也都知道!'.$str); // 注意,此时eval里 加了 "?>" 字符串echo 'word!';// 执行结果: /* 你好,世界! echo "He.....
分类:
Web程序 时间:
2014-09-16 22:05:51
阅读次数:
227
判断语句:you are a boyyou are a girlyou may be a fatheryou may be a mother过滤器:$scope.childrenArray = [ {name:'kimi',age:3}, {name:'cindy',ag...
分类:
Web程序 时间:
2014-09-16 21:48:51
阅读次数:
285
1、eval方式解析,恐怕这是最早的解析方式了。如下:function strToJson(str){ var json = eval('(' + str + ')'); return json; } 2、new Function形式,比较怪异哦。如下:function strToJson(str)...
分类:
Web程序 时间:
2014-09-16 21:47:12
阅读次数:
178
My first angular! {{greeting.text}}, World {{item.title}} {{item....
分类:
Web程序 时间:
2014-09-16 20:32:51
阅读次数:
217
$.post("/login",data,function(resultData){ var result = eval(eval("("+resultData+")")); if(result==1){ window.location.href="/index.j...
分类:
Web程序 时间:
2014-09-16 20:21:10
阅读次数:
269
position: fixed;_position: absolute;right: 0;_right: -1px;top: 80px;_bottom: auto;z-index: 2147483647;_top: expression(eval(document.documentElement.s...
分类:
其他好文 时间:
2014-09-16 15:45:10
阅读次数:
144
两个网址http://www.gruntjs.org/docs/getting-started.htmlhttp://gruntjs.com/plugins步骤:1.cd demo文件夹下2.安装grunt-clinpm install -g grunt-cli //全局安装 -g3.手动生产或自....
分类:
Web程序 时间:
2014-09-15 21:01:59
阅读次数:
765