码迷,mamicode.com
首页 >  
搜索关键字:angularjs $routeprovider template function    ( 67881个结果
A Book Store Application Using AngularJS and Asp.Net Web Api
There are many examples out there demonstrating how AngularJS and Web API can be used together but almost all of them are in MVC, so I tried to implem...
分类:移动开发   时间:2014-04-30 21:19:35    阅读次数:625
百度移动版的url编码解码代码
1 var decode = function(m) { 2 try { 3 m = decodeURIComponent(m); 4 } catch(e) {} 5 var s = m.split("%"); 6 if (s.length > 1)...
分类:移动开发   时间:2014-04-30 20:11:33    阅读次数:590
jquery获得select option的值和对select option的操作
1、jQuery获取Select元素,并选择的Text和Value: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find(.....
分类:Web程序   时间:2014-04-30 19:27:58    阅读次数:555
AngularJS的五个超酷特性
AngularJS是一个超棒的javascript框架,不单单对于开发人员来说非常有吸引力,对于UI设计师来说也同样出色。在这篇教程中,我们将简单的介绍AngularJS几个重量级必备特性,并且介绍它如何能够让你的web应用更加强大!AugularJS简单介绍AngularJS是一个新出现的强大客户...
分类:Web程序   时间:2014-04-30 18:43:06    阅读次数:533
使用AngularJS的三个重要原因
入门教程:http://www.ituring.com.cn/minibook/303 ;http://angularjs.cn/tag/AngularJS原因一:Google开发的框架要知道开源界的很多框架都是开发人员由于个人兴趣或者激情而开发出来的,比如,Cappucino还有Knockout。...
分类:Web程序   时间:2014-04-30 18:06:26    阅读次数:442
utf-8页面展示 gbk编码的js,gbk中有中文
index.html星月随笔这个页面中的 charset编码可以变成其他的。utf-81.js (编码方式 utf-8)function getPageCharset(){ var charSet = ""; var oType = getBrowser(); switch(...
分类:Web程序   时间:2014-04-30 13:10:20    阅读次数:443
js 验证手机号码
js 验证手机号码 //验证手机号 function isMobel(value) { if (/^1[3-8]+\d{9}$/g.test(value)) { return true; } else { return false; } }
分类:移动开发   时间:2014-04-29 11:12:46    阅读次数:369
HTML DOM event 事件 (丫头, 好想你了)
HTML DOM event 事件, 用用就知道了function isKeyPressed(eventssdasd) // 这个地方其实无关紧要,就是定义一个名称而已, 不过为了好看, 最好还是写成 event{ if (event.altKey==1)//event代表事件的状态,例如触发eve...
分类:Web程序   时间:2014-04-29 10:26:46    阅读次数:474
Jquery CSS 操作 - height() 方法
一、height() 方法 height() 方法返回或设置匹配元素的高度$(".btn1").click(function(){ $("p").height(50);});height方法事例
分类:Web程序   时间:2014-04-29 10:17:45    阅读次数:411
封装函数getClient获取当前显示区域的大小,即clientWidth和clientHeight
1 //获取当前显示区域的大小,即clientWidth和clientHeight 2 function getClient(){ 3 var isXHTML; //初始值默认 符合DOM的xHTML标准 4 var clientWidth,clientHeight; 5 if(docume...
分类:其他好文   时间:2014-04-29 09:36:46    阅读次数:465
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!